garagist/plaintext

Convert HTML to Plaintext for Neos CMS

0.1.5 2022-09-29 11:33 UTC

This package is auto-updated.

Last update: 2024-10-29 06:30:52 UTC


README

Latest stable version GitHub stars GitHub watchers GitHub license GitHub issues GitHub forks

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.