mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-24 12:19:33 +01:00
Aminda Suomalainen
76e51d833a
Hopefully prettier can handle not having empty lines around it unlike prettier
26 lines
609 B
Markdown
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
|
|
-->
|