Open dualer opened 2 years ago
Well, this is too specialized a kind of syntax. Please see https://github.com/yzhang-gh/vscode-markdown#q-which-markdown-syntax-is-supported for more information about how we support additional Markdown syntaxes.
:::
-like syntax is supported by markdown-it-container
and a VS Code extension.
{.class}
-like syntax is supported by markdown-it-attrs
.
Apparently the "theorem" syntax is still out of the scope of the above two extensions. You need to find (or write) a markdown-it
plugin to support it.
Proposal
Can you add some basic support for theorem environment? E.g.
or
Then, I can use pandoc to get the beautiful pdf document. More details see this.
References