carbon / plaintext
Convert HTML to Plaintext for Neos CMS
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:neos-carbon
Requires
- ext-mbstring: *
- carbon/notification: ^2.4
- neos/neos: ^8.3
README
With Carbon.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 carbon/plaintext
Then 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
.