Markdown
Daigo provides markdown as a widget. To integrate the data results into markdown, a custom template syntax is introduced in Daigo.
#
TemplatingBy 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:
Item | sum__Quantity |
---|---|
Fabric | 181 |
Glass | 169 |
Metal | 156 |
Plastic | 173 |
Wood | 216 |
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