ah, but that issue is already closed. better see https://github.com/jgm/pandoc/issues/2106

On Friday, November 3, 2017 at 3:19:11 PM UTC+1, mb21 wrote:
I believe this is under discussion at https://github.com/jgm/pandoc/issues/2542

cheers


On Friday, November 3, 2017 at 1:22:02 PM UTC+1, Dániel Tüzes wrote:
I have my own predefined latex environments for proofs, notes, lemmas, etc... I (could also) use amsmath for that, like:

\begin{def}

Definition: (the norm)\\

Let \(X\) real Euclidean space. A norm of an element \(a \in X\) is defined as: \(\left\| a \parallel \right.: = \sqrt{a,a}\).

\end{def}

I'd like to read this latex document and get an md file like
<div class="def">
<p>Definition: (the norm)<br />
Let \(X\) real Euclidean space. A norm of an element \(a \in X\) is defined as: \(\left\| a \parallel \right.: = \sqrt{a,a}\).</p>
</div>
Is there a way to do this? Currently I use regex, but I hope there's a professional way to do this.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ecc4c5ba-37cf-4fc3-ae63-a651d4f682f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.