mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-26 00:35:02 +03:00
Adjust prettier setup
This commit is contained in:
parent
a1f80331f4
commit
240a180cb8
@ -11,10 +11,8 @@ With v2, MDX Deck now splits slides based on the Remark AST's `thematicBreak` no
|
|||||||
For example, the following **will not** be split into a new slide, but instead will be treated as a Setext-style heading:
|
For example, the following **will not** be split into a new slide, but instead will be treated as a Setext-style heading:
|
||||||
|
|
||||||
```md
|
```md
|
||||||
<!-- prettier-ignore -->
|
|
||||||
Hello
|
Hello
|
||||||
---
|
---
|
||||||
|
|
||||||
Not another slide
|
Not another slide
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@
|
|||||||
"*.{md,js,json}": [
|
"*.{md,js,json}": [
|
||||||
"prettier --write",
|
"prettier --write",
|
||||||
"git add"
|
"git add"
|
||||||
|
],
|
||||||
|
"ignore": [
|
||||||
|
"**/MIGRATION.md"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user