Have you read the Contributing Guidelines on issues?
Prerequisites
Description
By the upgrade of the MDX plugin, the border of the document body and the footnotees has been changed from <hr> to the English-fixed heading. I couldn't find a way to change the language of the heading.
Some remark and related plugins can customize the "Footnotes" label by the option passed to mdast-util-to-hast.toHast.
https://github.com/remarkjs/remark-rehype#fields
https://github.com/remarkjs/remark-rehype#example-footnotes-in-languages-other-than-english
https://github.com/remarkjs/remark-html#options
https://github.com/syntax-tree/mdast-util-to-hast#footnotes
https://github.com/micromark/micromark-extension-gfm-footnote#label
Reproducible demo
WIP
Steps to reproduce
- Set the language of your document as other than English
- Add a footnote to a page in
docs
docusaurus start
- Open the page in your browser
Expected behavior
The footnote label is that in the language of your language (e.g. "脚注" in Japanese)
Actual behavior
Always "Footnotes" regardless of your language
Your environment
- Public source code: WIP
- Public site URL: WIP
- Docusaurus version used: 3.0.0
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Firefox
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 11
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
By the upgrade of the MDX plugin, the border of the document body and the footnotees has been changed from
<hr>to the English-fixed heading. I couldn't find a way to change the language of the heading.Some remark and related plugins can customize the "Footnotes" label by the option passed to
mdast-util-to-hast.toHast.https://github.com/remarkjs/remark-rehype#fields
https://github.com/remarkjs/remark-rehype#example-footnotes-in-languages-other-than-english
https://github.com/remarkjs/remark-html#options
https://github.com/syntax-tree/mdast-util-to-hast#footnotes
https://github.com/micromark/micromark-extension-gfm-footnote#label
Reproducible demo
WIP
Steps to reproduce
docsdocusaurus startExpected behavior
The footnote label is that in the language of your language (e.g. "脚注" in Japanese)
Actual behavior
Always "Footnotes" regardless of your language
Your environment
Self-service
↑ If easy to fix, but doesn't seem