Guide to implementing text widgets as a subtype of equation widgets with Markdown support
result
in a equation widget is set to a string (i.e. anything with "quotes"
around it), then the widget will be rendered as a text widget.
For now, all this means is that Markdown styling will be recognised and appropriate formatting applied. This will be extended in future based upon feedback from users (i.e. the eng team).
\n
will give you a new lineclient/src/sheet/components/markdown-styles.module.css
) which defines how each style should look (heading levels, bullets, whatever) - and we can apply any formatting youâd like to each of these, including colours, fonts, sizes, margins, whatever.