-
-
Notifications
You must be signed in to change notification settings - Fork 490
docs: Give focus to toc config options #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Give focus to toc config options #293
Conversation
f570b80 to
e5ace38
Compare
|
@PeterDaveHello / @AndrewSouthpaw i have made an attempt to make the readme flow a bit better by introducing the configuring toc options section. |
AndrewSouthpaw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
|
|
||
| npm install -g doctoc | ||
|
|
||
| ## Configuring Table of content |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit "Table of Contents" or "table of contents"
| - no limit is placed on Markdown-formatted headings, | ||
| - whereas headings from embedded HTML are limited to 4 levels. | ||
|
|
||
| ### Include all Headings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit weird capitalization, "headings"
|
Ah derp I meant for you to make those minor changes before I merged, and then immediately forgot. 🤦🏼 Mind opening a separate PR? 🙏🏼 |
|
Done via #299 |
This improves the readme to give increased focus on toc config options vs use cases.
This also defines a npm command which updates the project readme.
Closes #149
Closes #154