mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2025-08-19 12:57:22 +02:00
Compare commits
2 Commits
6814a1e179
...
164f416485
Author | SHA1 | Date | |
---|---|---|---|
164f416485 | |||
92f2d8555d |
@ -26,7 +26,7 @@ repos:
|
||||
rev: v2.2.0
|
||||
hooks:
|
||||
- id: doctoc
|
||||
args: [--update-only]
|
||||
args: [--update-only, --notitle]
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v3.0.0-alpha.9-for-vscode"
|
||||
hooks:
|
||||
|
@ -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…
x
Reference in New Issue
Block a user