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

[suggestion] Allow global markdown configuration #1441

Open
sebovzeoueb opened this issue May 31, 2024 · 0 comments
Open

[suggestion] Allow global markdown configuration #1441

sebovzeoueb opened this issue May 31, 2024 · 0 comments

Comments

@sebovzeoueb
Copy link

I'm using this custom configuration to render some markdown in my app: md = MarkdownIt("gfm-like").use(attrs.attrs_plugin)

It would be cool if we could set this globally somewhere, for example Nuxt Content lets you set it in the main configuration file https://content.nuxt.com/get-started/configuration#markdown. Luckily I only need custom rendering in a couple of places but I can imagine setting the renderer would get tiresome in an app that needs a consistent markdown interpretation everywhere.

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

No branches or pull requests

1 participant