garagist / plaintext
Convert HTML to Plaintext for Neos CMS
Package info
github.com/Garagist/Garagist.Plaintext
Type:neos-plugin
pkg:composer/garagist/plaintext
0.1.5
2022-09-29 11:33 UTC
Requires
- ext-mbstring: *
- carbon/notification: ^2.4
- neos/neos: ^7.3 || ^8.0
README
With Garagist.Plaintext you can convert any HTML or MJML document to plaintext. Useful for newsletter generation.
Installation
Add the package in your site package:
composer require --no-update garagist/plaintext
The run composer update in your project root.
Special CSS classes
To hide an element, add the class plaintext:hidden to remove it from the plaintext output. To mark an MJML element as headline (aka convert to uppercase), add the css-class plaintext:uppercase.