garagist / plaintext
Convert HTML to Plaintext for Neos CMS
Installs: 287
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:neos-plugin
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
.