gist/doctoc.txt

26 lines
609 B
Markdown

# 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:
```markdown
<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->
<!-- START doctoc -->
<!-- END doctoc -->
<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->
```
- 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
<!--
vim: filetype=markdown textwidth=78
-->