chdemko / pandoc-latex-environment

Pandoc filter for adding LaTeX environement on specific div
https://pandoc-latex-environment.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
34 stars 9 forks source link

Creating commands with spans #6

Closed adunning closed 1 year ago

adunning commented 5 years ago

It would be really brilliant if, along with support for creating environments, input such as <span class="myclass">text</span> could be used to create the command \myclass{text}.

3geek14 commented 4 years ago

I agree with @adunning ! I have a bit of inline formatting that I implement as [text]{.myclass} in the markdown, which turns into {text} in the LaTeX. It'd be awesome if it could turn into either \myclass{text} or \begin{myclass}{text}\end{myclass}.

chdemko commented 4 years ago

Yuou can propose a pull request if you want.

chdemko commented 1 year ago

Closing this issue as there is no proposed PR