mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +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:
|
To enable it at a specific position, throw in:
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
|
<!-- prettier-ignore-start -->
|
||||||
|
|
||||||
<!-- START doctoc -->
|
<!-- START doctoc -->
|
||||||
<!-- END 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
|
vim: filetype=markdown textwidth=78
|
||||||
-->
|
-->
|
||||||
|
Loading…
Reference in New Issue
Block a user