Files
roundcubemail/plugins/markdown_editor/README.md
Pablo Zmdl e34a813355 New plugin "markdown_editor": compose in markdown, send as HTML
This adds a markdown editor that sends HTML to the server.

It uses codemirror and some custom code to show a syntax highlighted
textarea and some buttons to help editing
(including a preview).

Drafts get marked via an internal email header that causes the markdown
editor to automatically start if a message composition is
continued that was started using the markdown editor.
2025-10-27 15:34:19 +01:00

21 lines
972 B
Markdown

MarkdownEditor
==============
A markdown editor (duh!).
This plugins adds an alternative editor to compose emails with in Markdown syntax, which gets converted into HTML before sending.
It provides syntax highlighting and a toolbar (including a preview button) to help writing markdown. Drafts are saved as-is, and are automatically re-opened in this editor on re-editing. On sending the written markdown text gets converted into HTML.
(Roundcubemail automatically produces a multipart/alternative email from the given HTML, including a text/plain part consisting of re-converted HTML-to-text. Using our original text as text/plain part would be preferable but is left for a future version of this plugin.)
Installation
------------
Run `npm clean-install && npm run build` to produce the minified Javascript and CSS files required to run.
To enable this editor, add `'markdown_editor'` to the list of plugins in your `config.inc.php`.
There is no configuration.