accord
accord copied to clipboard
Add markdown-it (better markdown engine)
markdown-it has an impressive set of extensions for customizing the syntax and features of Markdown. Many folks consider it to be a much better engine than marked.
- Is it possible to add markdown-it as a language option in accord?
- Is it possible to configure Roots to replace marked with markdown-it for .markdown and .md files?
- Yes it is
- I don't see why not
You'd just have to make a pull request to accord to add an engine for markdown-it!
Great. But will there be a conflict on the .markdown
and .md
extensions with the existing marked
engine? How will accord resolve those file extensions when a second engine is added on the same extensions?
Yeah, you'd just have to not have marked and markdown-it both in your package.json. With both there, you'd have a conflict, but with one you're set.
Ah, that makes sense. :) Thanks!