mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-27 13:38:33 +02:00
feat(core): add new site config option siteConfig.markdown.anchors.maintainCase
(#10064)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com> Co-authored-by: sebastien <lorber.sebastien@gmail.com>
This commit is contained in:
parent
9418786b26
commit
daba917e7c
10 changed files with 122 additions and 13 deletions
|
@ -25,7 +25,7 @@ const processFixture = async (name: string) => {
|
|||
|
||||
const result = await compile(file, {
|
||||
format: 'mdx',
|
||||
remarkPlugins: [headings, gfm, plugin],
|
||||
remarkPlugins: [[headings, {anchorsMaintainCase: false}], gfm, plugin],
|
||||
rehypePlugins: [],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue