mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
4efb7417df
to be consistent with other parsers, and change x-red to html |
||
---|---|---|
.. | ||
examples | ||
icons | ||
70-markdown.html | ||
70-markdown.js | ||
LICENSE | ||
package.json | ||
README.md |
node-red-node-markdown
A Node-RED node to convert a markdown string to html.
Install
Either use the Node-RED Menu - Manage Palette - Install
, or run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-node-markdown
Usage
If the input is a string it tries to convert it into an html string.
Uses the markdown-it library - You can see a demo here.
It is configured with html, linkify and typographer options turned on.