mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-22 02:32:43 +01:00
doctoc.txt: add prettier range ignore, link to doctoc README & wiki
This commit is contained in:
parent
6814a1e179
commit
92f2d8555d
@ -7,10 +7,17 @@ For pre-commit configuration see `./.pre-commit-config.yaml`
|
||||
To enable it at a specific position, throw in:
|
||||
|
||||
```markdown
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
<!-- START doctoc -->
|
||||
<!-- END doctoc -->
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
```
|
||||
|
||||
- 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
|
||||
-->
|
||||
|
Loading…
Reference in New Issue
Block a user