pandoc-emphasize-code
pandoc-emphasize-code copied to clipboard
Escape LaTeX special characters in listings
As discussed in https://github.com/owickstrom/pandoc-emphasize-code/pull/3#issuecomment-403314283, code rendered as LaTeX, through the listings
package, needs to be escaped. We could use Pandoc itself for this.
#6 addressed this in a basic way. Could do with a more robust solution.