gist/doctoc.txt

24 lines
534 B
Plaintext
Raw Normal View History

# A quick note on doctoc where I can find it
- https://github.com/thlorenz/doctoc
For pre-commit configuration see `./.pre-commit-config.yaml`
To enable it at a specific position, throw in:
2023-04-04 11:46:52 +02:00
```markdown
<!-- prettier-ignore-start -->
<!-- START doctoc -->
<!-- END doctoc -->
<!-- prettier-ignore-end -->
2023-04-04 11:46:52 +02:00
```
- https://github.com/thlorenz/doctoc/blob/master/README.md#specifying-location-of-toc
- https://github.com/thlorenz/doctoc/wiki/Using-doctoc-in-projects-cleaned-by-prettier
2023-04-04 11:46:52 +02:00
<!--
vim: filetype=markdown textwidth=78
-->