Skip to content

Commit 0e6c423

Browse files
authored
docs: format json/c++ codes in markdown
Signed-off-by: Jinzhe Zeng <[email protected]>
1 parent 8787b45 commit 0e6c423

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ repos:
5858
rev: 1.20.0
5959
hooks:
6060
- id: blacken-docs
61+
- repo: https://github.com/finsberg/clang-format-docs
62+
rev: v0.4.0
63+
hooks:
64+
- id: clang-format-docs
65+
additional_dependencies: [clang-format==21.1.8]
6166
# C++
6267
- repo: https://github.com/pre-commit/mirrors-clang-format
6368
rev: v21.1.8

0 commit comments

Comments
 (0)