You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been thinking a bit about this issue and found two other possible alternatives:
Wrap the environments with divs instead, and then apply a filter to the divs (which is cleaner/easier than with codeblocks). There is at least one filter that does this (with the older pandocfilters package): https://github.com/chdemko/pandoc-latex-environment
Create a new tex command \Begin and \End that get ignored by Pandoc, as discussed here:
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!
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: jgm/pandoc#168
Cheers,
S
The text was updated successfully, but these errors were encountered: