Dne středa 19. října 2022 v 17:43:31 UTC+2 uživatel fiddlosopher napsal:
What would you think about replacing \pandocSpace with a regular space character? IT would make the output a lot more readable. Similarly, SoftBreak could be a regular newline character.
The input processor of TeX will fold one or more spaces into a single space and consume all spaces at the end of a line. Making spaces and soft breaks into commands avoids this at the cost of lesser readability.
It would be nice to see some examples involving arguments and attributes, e.g. links and headers.
Why is the package called "pandoc-to-markdown"? That would lead me to expect that it produces markdown output.
The implementation rests on
my Markdown package for TeX, which provides formatting for most elements of the Pandoc AST across different TeX formats such as plain TeX, LaTeX, and ConTeXt. Dominik's proof of concept bridges Pandoc with the Markdown package and hence the (somewhat confusing) name.
John
Best,
Vit