gist/doctoc.txt
Aminda Suomalainen 76e51d833a
doctoc.txt: add editorconfig-checker ignore
Hopefully prettier can handle not having empty lines around it unlike prettier
2023-08-29 12:03:31 +03:00

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
-->