-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
allow simple markdown plugin loading #585
Comments
Thanks, It would be better to also support shortcuts without module.exports = {
markdown: {
lineNumbers: true,
plugins: ['ins', 'mark']
}
} |
@ulivz Do all Check https://github.com/neumayr/vuepress/commit/6be77173bbd7afd0a52adebd29b97a7e506bf74c |
We should support both versions since VuePress's plugin API (In branch) has supported it. Feel free to open a pull request. |
Feature request
What problem does this feature solve?
markdown.config
currently requires a javascript function argument. This is only manageable with aconfig.js
setup. I would like to allow markdown plugin loading also from aconfig.yml
file.Similar requests, see #326 & #579
What does the proposed API look like?
I would propose a
markdown.plugins
endpoint that requires an Array. See implementation example.How should this be implemented in your opinion?
Are you willing to work on this yourself?
Yes 🎉 wip branch is alive
The text was updated successfully, but these errors were encountered: