The implementation for renderMarkdown should switch from directly rendering the markdown to parsing the markdown into a syntax tree, removing the metadata table from that tree (possibly in a way that it can be read from late, may be useful?), and then rendering. This will make it so that the metadata table is not rendered into the preview window.
Work on this could maybe include support for properly rendering certain types of meta styling like {: .warning .warning-icon }. Refer to the marked documentation for adding support for custom markdown.
Currently, the whole raw markdown file contains a table at the top of the file, roughly in the below format:
The implementation for
renderMarkdown
should switch from directly rendering the markdown to parsing the markdown into a syntax tree, removing the metadata table from that tree (possibly in a way that it can be read from late, may be useful?), and then rendering. This will make it so that the metadata table is not rendered into the preview window.Work on this could maybe include support for properly rendering certain types of meta styling like
{: .warning .warning-icon }
. Refer to the marked documentation for adding support for custom markdown.