How does one configure markdown plugins?
I want to tweak the behaviour of the autolink-headings plugin, but could not see how to do that in the docs.
Hey @davestewart,
You can configure remark plugins using its name in camelCase, so for remark-autolink-headings:
{
content: {
markdown: {
autolinkHeadings: {
// https://github.com/remarkjs/remark-autolink-headings#options
}
}
}
}
Here is the link to the documentation.
Thanks for the speedy help!
That's really tucked away 馃憥
I'd recommend making that WAY more obvious, perhaps its own section:

@davestewart A PR is actually ongoing that will support rehype plugins and change how to configure them. Stay tuned!