Open sergiocorreia opened 8 years ago
Thanks much.
I also think div is the natural way to go, but it's just a pain to write due to there being no nice shorthand for divs as you say. I wish there was. (I'm lazy, <div class="columns">
takes longer than \begin{columns}
and given that I'm essentially writing a mostly-latex document anyway [beamerposter] just using markdown for things like bold/italic/links/lists rather than headings/structure, \begin{}
and \end{}
makes more sense).
Had not seen the trick you mention for 2., I'll check it out. Thanks!
You could take a look into 2 filters I wrote (modified from others) that uses div as LaTeX environment too:
The first one is very simple syntax, the second one is bigger and more specialized.
I've been thinking a bit about this issue and found two other possible alternatives:
pandocfilters
package): https://github.com/chdemko/pandoc-latex-environmentIdeally, I would go with option 1 if there was a neat way to create divs, but there is yet no agreement on that in the Pandoc project: https://github.com/jgm/pandoc/issues/168
Cheers, S