docusaurus/packages/docusaurus-utils
Sébastien Lorber 8ebbc17c7b
fix(v2): fix title logic (meta vs heading) + ignore fixed anchor id syntax (#4688)
* parseMarkdownContentTitle should ignore {#my-anchor-id} syntax

* use frontMatter.title in priority for page meta title

* parseMarkdownString should ignore fixed anchor ids syntax

* docs: make the distinction between headingTitle + metaTitle more clear + add useful todo

* docs: make the distinction between headingTitle + metaTitle more clear + add useful todo

* writeHeadingIds should ignore top-level md title like "# Title"
=> we are not supposed to create anchor links for h1 headers

* update tests

* fix doc tests
2021-04-27 15:44:46 +02:00
..
src fix(v2): fix title logic (meta vs heading) + ignore fixed anchor id syntax (#4688) 2021-04-27 15:44:46 +02:00
package.json chore(v2): prepare v2.0.0.alpha-73 release (#4628) 2021-04-16 12:48:10 +02:00
README.md docs(v2): Add READMEs to v2 packages (#4034) 2021-01-14 17:16:26 +01:00
tsconfig.json chore: json files should be linted (#4462) 2021-03-18 19:39:50 +01:00

@docusaurus/utils

Node validation utility functions for Docusaurus packages.