We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I want to use https://www.npmjs.com/package/@gerhobbelt/markdown-it-attrs to set target for links in markdown.
But I don't know how to define the allowedAttributes for markdown-it-attrs.
Is this also possible via nuxt.config?
Thanks for some help!
Best regards,
Timo
The text was updated successfully, but these errors were encountered:
Also wondering :O
Sorry, something went wrong.
@iparker @katerlouis
md.use(markdownItAttrs, { // optional, these are default options leftDelimiter: '{', rightDelimiter: '}', allowedAttributes: [] // empty array = all attributes are allowed });
should look like this in your nuxt config :
use: [ 'markdown-it-another-plugin', [ 'markdown-it-attrs', { leftDelimiter: '{', rightDelimiter: '}', ... more options... } ] ]
No branches or pull requests
Hello,
I want to use https://www.npmjs.com/package/@gerhobbelt/markdown-it-attrs to set target for links in markdown.
But I don't know how to define the allowedAttributes for markdown-it-attrs.
Is this also possible via nuxt.config?
Thanks for some help!
Best regards,
Timo
The text was updated successfully, but these errors were encountered: