mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
2d28a2304f
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question. as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository |
||
---|---|---|
.. | ||
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.