elliotblackburn / mdpdf

Markdown to PDF command line app with support for stylesheets
https://npmjs.com/package/mdpdf
Apache License 2.0
717 stars 47 forks source link

Support Github "Alerts"? #197

Open Sajjon opened 3 months ago

Sajjon commented 3 months ago

Seems this (great) tool does not support Github Markdown "alerts", at least not without any extra options?

Would be excellent to support it! Since "Alerts" are so fancy and getting traction amongst repos on Github.

elliotblackburn commented 2 months ago

Thanks for the suggestion, we use showdownjs for the markdown -> html conversion so don't do any of it "in-house" so to speak. If Showdown supports it, we can probably enable it via some option although I can't see anything that suggests it's supported by default. The alternative would be some sort of showdown extension, but after a quick search I can't find any - but my searching was only quick.

This probably isn't something I'm going to spend much time on, but if someone has an easy solution like one of the ones above I'd be happy to reivew a PR for it.