mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add simple markdown example flow
This commit is contained in:
parent
fb96e552c2
commit
52dcfdbd97
1
parsers/markdown/examples/Simple Markdown Template.json
Normal file
1
parsers/markdown/examples/Simple Markdown Template.json
Normal file
@ -0,0 +1 @@
|
||||
[{"id":"dda1a6d6.fe5f58","type":"markdown","z":"adc578f5.614308","name":"","x":390,"y":80,"wires":[["43620a8a.4c8054"]]},{"id":"16242d94.2f86d2","type":"inject","z":"adc578f5.614308","name":"","topic":"","payload":"**Hello** *world* that was `easy` ! ","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":80,"wires":[["371c8267.9a274e"]]},{"id":"43620a8a.4c8054","type":"ui_template","z":"adc578f5.614308","group":"86b1e7af.9ae1e8","name":"","order":1,"width":"6","height":"10","format":"<div id=\"nr-markdown\" style=\"font-family:helvetica neue,arial,helvetica,sans-serif; margin:12px\" ng-bind-html=\"msg.payload\">';","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":540,"y":80,"wires":[[]]},{"id":"371c8267.9a274e","type":"template","z":"adc578f5.614308","name":"","field":"payload","fieldType":"msg","format":"markdown","syntax":"mustache","template":"\n## Heading\n### Sub-sub-heading\n\n**Hello** World ! that was `easy` ! \n*not* sure what the fuss is all about\n\n - we can create lists\n - of various things\n \nOr just text\n\nOr some glyphs (c) (tm) (r) °C\n\n```\nor maybe a code block\n```\n\n### Tables\n\n| Name | Value |\n| ------ | ----- |\n| cat | miaow |\n| dog | woof |\n| cow | moo |","output":"str","x":240,"y":80,"wires":[["dda1a6d6.fe5f58"]]},{"id":"86b1e7af.9ae1e8","type":"ui_group","z":"","name":"Markdown","tab":"b73dd9da.7d7398","disp":true,"width":"6","collapse":false},{"id":"b73dd9da.7d7398","type":"ui_tab","z":"","name":"Markdown","icon":"dashboard","disabled":false,"hidden":false}]
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-markdown",
|
||||
"version" : "0.1.0",
|
||||
"version" : "0.1.1",
|
||||
"description" : "A Node-RED node to convert a markdown string to html.",
|
||||
"dependencies" : {
|
||||
"markdown-it": "^8.4.2"
|
||||
|
Loading…
Reference in New Issue
Block a user