Skip to content

Commit 2a51340

Browse files
committed
Add markdown formatting check
1 parent b21118a commit 2a51340

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/format.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ jobs:
3737

3838
- name: Check format
3939
run: git diff --exit-code
40+
41+
- name: Check markdown formatting
42+
run: npx prettier@3.6.2 --check "docs/src/**/*.md"

‎.prettierrc‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"proseWrap": "always",
3+
"printWidth": 80
4+
}

0 commit comments

Comments
 (0)