Disable markdown header (#, ##,###) being always links? #1495
maxfrauscher
started this conversation in
General
Replies: 6 comments 3 replies
Solved it. You just have to overwrite the h tags in the nuxt.config.ts |
0 replies
|
You can override the H2 to H4 to disable the generation. Refer to the prose docs |
0 replies
|
If you've got a ( from https://stackoverflow.com/questions/58785061/how-to-remove-anchor-links-from-headers-in-markdown ) |
0 replies
|
This has an actual option since a while ago. But it was moved to another package: See https://github.com/nuxt-modules/mdc?tab=readme-ov-file#configurations |
0 replies
|
It is already in the configuration. Just add some lines to the nuxt.config.ts. https://content.nuxt.com/docs/getting-started/configuration#anchorlinks |
2 replies
|
has anyone found a solution? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey is there a way to disable the functionality that a headers is also an anchor link?
f.e.
'### HeaderHtml Output:
<h3 id="header"><a href="/#header">Header</a><h3>I don't want to have an anchor link. Is there a way to set this up?
All reactions