markdown-pdf icon indicating copy to clipboard operation
markdown-pdf copied to clipboard

Add LaTex support

Open ismailuddin opened this issue 9 years ago • 6 comments

Would it be possible to use something like MathJAX to render inline latex equations? At the moment I use pandoc to convert the .MD to a PDF, but it uses the LaTeX template. I quite prefer the minimalist appearance of Markdown PDF documents, but LaTex equation support would be great!

ismailuddin avatar Aug 23 '16 11:08 ismailuddin

+1

opensorceror avatar Apr 25 '17 14:04 opensorceror

I really like this idea. Will be making a roadmap for this project over the next few days and this one will be included.

travs avatar Jun 15 '17 06:06 travs

is there any news about this new feature?

sank96 avatar Oct 15 '18 13:10 sank96

For those interested, a current work around is to use markdown-preview-plus and its built-in PDF exporter, which does render LaTeX equations.

jbrussell avatar Dec 19 '19 17:12 jbrussell

@BlueHatbRit Hey Elliot, any idea/plan to include something like this in mdpdf, or would you consider it out of scope?

travs avatar Mar 09 '20 17:03 travs

I think this is probably within scope of mdpdf and could be a great addition, however I have no experience working with LateX and would have to sink some time into figuring out how and where we process those sections of the document. I'm not sure I have that time right now but I'd be open to contributions and giving advice on how to weave it into mdpdf.

Right now our markdown is entirely handled by showdown so we would presumably need to either create a plugin for that, or build some sort of pre-processor, which is not something I've had to do so far. So I think it would probably be a reasonable amount of hacking around to get it working.

elliotblackburn avatar Mar 09 '20 17:03 elliotblackburn