md2pdf icon indicating copy to clipboard operation
md2pdf copied to clipboard

Support syntax highlighting?

Open endrebak opened this issue 8 years ago • 1 comments

Is it possible?

endrebak avatar Nov 01 '16 10:11 endrebak

In code blocks? Yes.

I must test it, but theoretically, we need to:

  1. add the fenced-code-blocks option to extras (see markdown2 extras documentation)
  2. use a stylesheet with pygments-like rules to add syntax-highligthing

jmaupetit avatar Nov 02 '16 10:11 jmaupetit