Skip to content

Commit

Permalink
Merge pull request #1392 from FlowFuse/1391-template-markdown-docs
Browse files Browse the repository at this point in the history
Ensure in-Editor markdown & template documentation renders
  • Loading branch information
joepavitt authored Oct 12, 2024
2 parents dfdfb39 + 1579d46 commit f212d7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nodes/widgets/locales/en-US/ui_markdown.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script type="text/html" data-help-name="ui-text">
<script type="text/html" data-help-name="ui-markdown">
<p>
Converts markdown to rendered HTML int the Dashboard.
Converts markdown to rendered HTML into the Dashboard.
</p>
<p>
Can be use for rendering labels, headers or even full blog articles. If you're
Expand Down
5 changes: 4 additions & 1 deletion nodes/widgets/locales/en-US/ui_template.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

(see [full docs](https://dashboard.flowfuse.com/nodes/widgets/ui-template.html))
<script type="text/markdown" data-help-name="ui-template">
(see [full docs](https://dashboard.flowfuse.com/nodes/widgets/ui-template.html))

The content of `ui-template` is controlled by the "Type" property.

Expand Down Expand Up @@ -148,3 +149,5 @@
color: green;
}
```

</script>

0 comments on commit f212d7f

Please sign in to comment.