Skip to main content

Markdown

Daigo provides markdown as a widget. To integrate the data results into markdown, a custom template syntax is introduced in Daigo.

Templating#

By using a templating, you are able to extract the value from the data query results and place it in your markdown text.

Giving the data query results in such format:

Itemsum__Quantity
Fabric181
Glass169
Metal156
Plastic173
Wood216

If you'd like to display the sum__Quantity of Fabric in your markdown, use ${sum__Quantity[0]} inline with your markdown text. When you finish your editing, the value 181 will be rendered and displayed instead.

For anything wrong in the query or syntax, ??? will be displayed. Please tweak your query. If you don't think it works as expected, feel free to submit an issue ticket at https://github.com/usedaigo/daigo/issues