-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 config option to bin/marked #2937
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
'~/.marked.json', | ||
'~/.marked.js', | ||
'~/.marked/index.js' | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to consider .mjs
and .cjs
here too?
It might be better to ship this with only .json
first and see if JS support is actually needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the .js
support will be more useful to be able to include extensions. .mjs
and .cjs
works for the config option. I don't think we need to include them by default.
Marked version: 7.0.5
Markdown flavor: Marked CLI
Description
Load config with marked cli. This will allow extensions to be used with the marked cli.
TODO
Contributor
Committer
In most cases, this should be a different person than the contributor.