You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hm might just be an issue with how outdated the marked version I use is 🙈 I've been wanting to update it for a long while. l'll try to get to it this week.
In the meantime you can check whether markedjs/marked actually supports this at all?
Yeah you can, but i also have an open issue about it 🙈 (#292)
You'd need to use a md-to-pdf.config.js file (can name it whatever you want) and pass that to the CLI with --config-file ./md-to-pdf.config.js flag, then you can use it to configure marked_extensions, sth like:
constmarkedAlert=require('marked-alert')module.exports={// ... other configmarked_extensions: [markedAlert],}
But the way marked_extensions is passed to the Marked instance is not aligned with their new .use() API interface, so I can't guarantee this actually works until #292 is solved. Maybe just give it a try and if it doesn't work it gives me some motivation to finally fix this (:
Problem:
Seems this (great) tool does not support Github Markdown "alerts", at least not without any extra options?
Solution:
Would be excellent to support it! Since "Alerts" are so fancy and getting traction amongst repos on Github.
The text was updated successfully, but these errors were encountered: