docusaurus/packages/docusaurus-init
Alexey Pyltsyn 96e7fcef25
feat(v2): add ability to set custom heading id (#4222)
* feat(v2): add ability to set custom heading id

* Add cli command

* Fix slugger

* write-heading-ids doc + add in commands/templates

* refactor + add tests for writeHeadingIds

* polish writeHeadingIds

* polish writeHeadingIds

* remove i18n goals todo section as the  remaining items are quite abstract/useless

* fix edge case with 2 md links in heading

* extract parseMarkdownHeadingId helper function

* refactor using the shared parseMarkdownHeadingId utility fn

* change logic of edge case

* Handle edge case

* Document explicit ids feature

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-05 19:36:14 +01:00
..
bin feat(v2): skip dependency install on docusaurus init (#3986) 2021-01-04 16:17:06 +01:00
src chore(v2): docusaurus-init: switch from inquirer to prompts (#4012) 2021-01-11 15:33:40 +01:00
templates feat(v2): add ability to set custom heading id (#4222) 2021-03-05 19:36:14 +01:00
package.json chore(v2): bump/align deps in monorepo: commander, semver, fs-extra (#4264) 2021-02-22 19:05:25 +01:00
README.md docs(v2): Add READMEs to v2 packages (#4034) 2021-01-14 17:16:26 +01:00
tsconfig.json feat(v2): @docusaurus/init package (#1655) 2019-07-14 01:06:23 +07:00

@docusaurus/init

Create Docusaurus apps easily.

Usage

Please see the installation documentation.