1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-29 13:58:02 +03:00

Disable prettier on markdown

This commit is contained in:
Brent Jackson 2019-04-21 17:51:55 -04:00
parent f53dc44868
commit ec49e8b910
2 changed files with 37 additions and 72 deletions

View File

@ -3,9 +3,8 @@
![](images/default.png) ![](images/default.png)
Default Default
```mdx ```js
export { default as theme } from 'mdx-deck/themes export { default as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -13,10 +12,8 @@ export { default as theme } from 'mdx-deck/themes
![](images/big.png) ![](images/big.png)
Big Big
```mdx ```js
export { big as theme } from 'mdx-deck/themes export { big as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -24,10 +21,8 @@ export { big as theme } from 'mdx-deck/themes
![](images/book.png) ![](images/book.png)
Book Book
```mdx ```js
export { book as theme } from 'mdx-deck/themes export { book as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -35,10 +30,8 @@ export { book as theme } from 'mdx-deck/themes
![](images/code.png) ![](images/code.png)
Code Code
```mdx ```js
export { code as theme } from 'mdx-deck/themes export { code as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -46,10 +39,8 @@ export { code as theme } from 'mdx-deck/themes
![](images/comic.png) ![](images/comic.png)
Comic Comic
```mdx ```js
export { comic as theme } from 'mdx-deck/themes export { comic as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -57,10 +48,8 @@ export { comic as theme } from 'mdx-deck/themes
![](images/condensed.png) ![](images/condensed.png)
Condensed Condensed
```mdx ```js
export { condensed as theme } from 'mdx-deck/themes export { condensed as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -68,10 +57,8 @@ export { condensed as theme } from 'mdx-deck/themes
![](images/dark.png) ![](images/dark.png)
Dark Dark
```mdx ```js
export { dark as theme } from 'mdx-deck/themes export { dark as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -79,10 +66,8 @@ export { dark as theme } from 'mdx-deck/themes
![](images/future.png) ![](images/future.png)
Future Future
```mdx ```js
export { future as theme } from 'mdx-deck/themes export { future as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -90,10 +75,8 @@ export { future as theme } from 'mdx-deck/themes
![](images/hack.png) ![](images/hack.png)
Hack Hack
```mdx ```js
export { hack as theme } from 'mdx-deck/themes export { hack as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -106,10 +89,8 @@ Lobster
![](images/notes.png) ![](images/notes.png)
Notes Notes
```mdx ```js
export { notes as theme } from 'mdx-deck/themes export { notes as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -122,10 +103,8 @@ Rye
![](images/script.png) ![](images/script.png)
Script Script
```mdx ```js
export { script as theme } from 'mdx-deck/themes export { script as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -133,10 +112,8 @@ export { script as theme } from 'mdx-deck/themes
![](images/swiss.png) ![](images/swiss.png)
Swiss Swiss
```mdx ```js
export { swiss as theme } from 'mdx-deck/themes export { swiss as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
@ -144,58 +121,46 @@ export { swiss as theme } from 'mdx-deck/themes
![](images/yellow.png) ![](images/yellow.png)
Yellow Yellow
```mdx ```js
export { yellow as theme } from 'mdx-deck/themes export { yellow as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
Poppins Poppins
```mdx ```js
export { poppins as theme } from 'mdx-deck/themes export { poppins as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
Syntax Highlighter Syntax Highlighter
```mdx ```js
export { syntaxHighlighter as theme } from 'mdx-deck/themes export { syntaxHighlighter as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
Syntax Highlighter Prism Syntax Highlighter Prism
```mdx ```js
export { syntaxHighlighterPrism as theme } from 'mdx-deck/themes export { syntaxHighlighterPrism as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
Aspect 16:9 Aspect 16:9
```mdx ```js
export { aspect as theme } from '@mdx-deck/themes export { aspect as theme } from '@mdx-deck/themes'
'
``` ```
--- ---
Aspect 4:3 Aspect 4:3
```mdx ```js
export { aspect43 as theme } from '@mdx-deck/themes export { aspect43 as theme } from '@mdx-deck/themes'
'
``` ```

View File

@ -43,7 +43,7 @@
}, },
"lint-staged": { "lint-staged": {
"linters": { "linters": {
"*.{md,mdx,js,json}": [ "*.{js,json}": [
"prettier --write", "prettier --write",
"git add" "git add"
] ]