garagist/plaintext

将 HTML 转换为 Neos CMS 的纯文本

安装: 266

依赖项: 1

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 1

开放问题: 0

类型:neos-plugin

0.1.5 2022-09-29 11:33 UTC

This package is auto-updated.

Last update: 2024-08-29 06:02:04 UTC


README

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

使用 Garagist.Plaintext,您可以将任何 HTMLMJML 文档转换为纯文本。适用于新闻通讯生成。

安装

将包添加到您的站点包中

composer require --no-update garagist/plaintext

在项目根目录下运行 composer update

特殊 CSS 类

要隐藏一个元素,向其添加类 plaintext:hidden 以从纯文本输出中删除它。要将 MJML 元素标记为标题(即转换为大写),请添加 CSS 类 plaintext:uppercase