I use vscode to write the markdown document now, but it doesn't support the theorem environment. I wonder whether one can make it happen, and use pandoc to transform it into latex format, i.e. 
```
\begin{theorem}[name]\label{label}
math: $\pi$
\end{theorem}
```
I have done some searches on the internet, e.g. link1 gives some information about div & span in pandoc, link2 gives some ways to use the theorem environment in markdown, and link3 gives some ways to transform it to latex format. I want to implement the following process: Using some code in markdown like 
```
::: {.theorem #label name="name"}
math: $\pi$
:::
```
or 
```
<div class="theorem" data-attribution="name">\label{label}
math: $\pi$
<\div>
```
to get the right display in vscode , e.g. 

Theorem 1 (name)   math $\pi$

after transforming it to latex, one can get the right latex content above. As far as I know, the way in link2 doesn't support math formula & label and the way in link3 doesn't support the `name` of theorem.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/38362bc3-9a51-4094-9447-c0681231976bn%40googlegroups.com.