Replace Footnotes Header with a horizontal line #10374
-
on adding footnotes to my docs website, a header I would like to have a horizontal line instead of the header as seen in Uniswap here A possible solution is that i could add a
but this looks like a hacky way of doing it. It is also not the way Uniswap achieved it (confirmed from their GitHub repo) any suggestions on how I can achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Uniswap site is using Docusaurus v2 (using MDX v1) Using a separator like this is how MDX v1 used to do. But now in MDX v2 (used by Docusaurus v3) it creates a heading. I'm not sure how you can revert to the old behavior, apart writing a remark plugin that replaces that heading with a separator. Any idea @wooorm ? Note that we expose
Maybe try |
Beta Was this translation helpful? Give feedback.
You can configure things. Read the readmes of https://github.com/remarkjs/remark-gfm and https://github.com/remarkjs/remark-rehype indeed. Particularly the CSS section in
remark-gfm
.