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:
Dave Conway-Jones 2020-02-25 17:41:45 +00:00
parent be5f79becc
commit 4efb7417df
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
8 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<script type="text/x-red" data-template-name="base64">
<script type="text/html" data-template-name="base64">
<div class="form-row">
<label for="node-input-action"><i class="fa fa-dot-circle-o"></i> <span data-i18n="base64.label.action"></span></label>
<select style="width:70%" id="node-input-action">
@ -20,7 +20,7 @@
<script type="text/javascript">
RED.nodes.registerType('base64',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
name: {value:""},

View File

@ -1,4 +1,4 @@
<script type="text/x-red" data-help-name="base64">
<script type="text/html" data-help-name="base64">
<p>A function that converts the chosen property (default <code>msg.payload</code>) to and from base64 format.</p>
<p>If the input is a buffer it converts it to a Base64 encoded string.</p>
<p>If the input is a Base64 string it converts it back to a binary buffer.</p>

View File

@ -1,4 +1,4 @@
<script type="text/x-red" data-help-name="base64">
<script type="text/html" data-help-name="base64">
<p>選択したプロパティ(デフォルトは<code>msg.payload</code>)のBase64変換を行います。</p>
<p>入力がバッファであれば、Base64エンコードされた文字列に変換します。</p>
<p>入力がBase64文字列であれば、バイナリバッファ形式に変換します。</p>

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-base64",
"version" : "0.2.0",
"version" : "0.2.1",
"description" : "A Node-RED node to pack and unpack objects to base64 format",
"dependencies" : {
},

View File

@ -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:""}

View File

@ -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"

View File

@ -1,5 +1,5 @@
<script type="text/x-red" data-template-name="msgpack">
<script type="text/html" data-template-name="msgpack">
<div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/>
@ -10,7 +10,7 @@
</div>
</script>
<script type="text/x-red" data-help-name="msgpack">
<script type="text/html" data-help-name="msgpack">
<p>A function that converts the <code>msg.payload</code> to and from <a href = "https://github.com/msgpack/msgpack-node"><i>msgpack</i></a> format.</p>
<p>If the input is NOT a buffer it tries to convert it to a msgpack buffer.</p>
<p>If the input is a msgpack buffer it tries to decode it back.</p>
@ -19,7 +19,7 @@
<script type="text/javascript">
RED.nodes.registerType('msgpack',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
name: {value:""},

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-msgpack",
"version" : "1.2.0",
"version" : "1.2.1",
"description" : "A Node-RED node to pack and unpack objects to msgpack format",
"dependencies" : {
"msgpack-lite" : "^0.1.26"