Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add markdown-it (better markdown engine) #331

Open
svicalifornia opened this issue May 29, 2017 · 4 comments
Open

Add markdown-it (better markdown engine) #331

svicalifornia opened this issue May 29, 2017 · 4 comments

Comments

@svicalifornia
Copy link

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.

  1. Is it possible to add markdown-it as a language option in accord?
  2. Is it possible to configure Roots to replace marked with markdown-it for .markdown and .md files?
@jescalan
Copy link
Owner

jescalan commented Jun 6, 2017

  1. Yes it is
  2. I don't see why not

You'd just have to make a pull request to accord to add an engine for markdown-it!

@svicalifornia
Copy link
Author

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?

@jescalan
Copy link
Owner

jescalan commented Jun 6, 2017

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.

@svicalifornia
Copy link
Author

Ah, that makes sense. :) Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants