mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Move base64, msgpack, and markdown nodes to parser category
to be consistent with other parsers, and change x-red to html
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="markdown">
|
||||
<script type="text/html" data-template-name="markdown">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="markdown">
|
||||
<script type="text/html" data-help-name="markdown">
|
||||
<p>A function that converts the <code>msg.payload</code> in markdown format to html.</p>
|
||||
<p>If the input is a string it converts it to html.</p>
|
||||
<p>All other message types are ignored.</p>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('markdown',{
|
||||
category: 'function',
|
||||
category: 'parser',
|
||||
color:"#DEBD5C",
|
||||
defaults: {
|
||||
name: {value:""}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-markdown",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"description": "A Node-RED node to convert a markdown string to html.",
|
||||
"dependencies": {
|
||||
"markdown-it": "^10.0.0"
|
||||
|
Reference in New Issue
Block a user