vscode-markdown
vscode-markdown copied to clipboard
Support theorem environment
Proposal
Can you add some basic support for theorem environment? E.g.
::: {.theorem #label name="name"}
math: $\pi$
or
<div class="theorem" data-attribution="name">\label{label}
math: $\pi$
<\div>
Then, I can use pandoc to get the beautiful pdf document. More details see this.
References
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.