From ec49e8b9102cc38b2e180e5830eb7db6d28b172c Mon Sep 17 00:00:00 2001 From: Brent Jackson Date: Sun, 21 Apr 2019 17:51:55 -0400 Subject: [PATCH] Disable prettier on markdown --- docs/themes.md | 107 +++++++++++++++++-------------------------------- package.json | 2 +- 2 files changed, 37 insertions(+), 72 deletions(-) diff --git a/docs/themes.md b/docs/themes.md index 022fea7..b90d317 100644 --- a/docs/themes.md +++ b/docs/themes.md @@ -3,9 +3,8 @@ ![](images/default.png) Default -```mdx -export { default as theme } from 'mdx-deck/themes -' +```js +export { default as theme } from '@mdx-deck/themes' ``` --- @@ -13,10 +12,8 @@ export { default as theme } from 'mdx-deck/themes ![](images/big.png) Big -```mdx -export { big as theme } from 'mdx-deck/themes - -' +```js +export { big as theme } from '@mdx-deck/themes' ``` --- @@ -24,10 +21,8 @@ export { big as theme } from 'mdx-deck/themes ![](images/book.png) Book -```mdx -export { book as theme } from 'mdx-deck/themes - -' +```js +export { book as theme } from '@mdx-deck/themes' ``` --- @@ -35,10 +30,8 @@ export { book as theme } from 'mdx-deck/themes ![](images/code.png) Code -```mdx -export { code as theme } from 'mdx-deck/themes - -' +```js +export { code as theme } from '@mdx-deck/themes' ``` --- @@ -46,10 +39,8 @@ export { code as theme } from 'mdx-deck/themes ![](images/comic.png) Comic -```mdx -export { comic as theme } from 'mdx-deck/themes - -' +```js +export { comic as theme } from '@mdx-deck/themes' ``` --- @@ -57,10 +48,8 @@ export { comic as theme } from 'mdx-deck/themes ![](images/condensed.png) Condensed -```mdx -export { condensed as theme } from 'mdx-deck/themes - -' +```js +export { condensed as theme } from '@mdx-deck/themes' ``` --- @@ -68,10 +57,8 @@ export { condensed as theme } from 'mdx-deck/themes ![](images/dark.png) Dark -```mdx -export { dark as theme } from 'mdx-deck/themes - -' +```js +export { dark as theme } from '@mdx-deck/themes' ``` --- @@ -79,10 +66,8 @@ export { dark as theme } from 'mdx-deck/themes ![](images/future.png) Future -```mdx -export { future as theme } from 'mdx-deck/themes - -' +```js +export { future as theme } from '@mdx-deck/themes' ``` --- @@ -90,10 +75,8 @@ export { future as theme } from 'mdx-deck/themes ![](images/hack.png) Hack -```mdx -export { hack as theme } from 'mdx-deck/themes - -' +```js +export { hack as theme } from '@mdx-deck/themes' ``` --- @@ -106,10 +89,8 @@ Lobster ![](images/notes.png) Notes -```mdx -export { notes as theme } from 'mdx-deck/themes - -' +```js +export { notes as theme } from '@mdx-deck/themes' ``` --- @@ -122,10 +103,8 @@ Rye ![](images/script.png) Script -```mdx -export { script as theme } from 'mdx-deck/themes - -' +```js +export { script as theme } from '@mdx-deck/themes' ``` --- @@ -133,10 +112,8 @@ export { script as theme } from 'mdx-deck/themes ![](images/swiss.png) Swiss -```mdx -export { swiss as theme } from 'mdx-deck/themes - -' +```js +export { swiss as theme } from '@mdx-deck/themes' ``` --- @@ -144,58 +121,46 @@ export { swiss as theme } from 'mdx-deck/themes ![](images/yellow.png) Yellow -```mdx -export { yellow as theme } from 'mdx-deck/themes - -' +```js +export { yellow as theme } from '@mdx-deck/themes' ``` --- Poppins -```mdx -export { poppins as theme } from 'mdx-deck/themes - -' +```js +export { poppins as theme } from '@mdx-deck/themes' ``` --- Syntax Highlighter -```mdx -export { syntaxHighlighter as theme } from 'mdx-deck/themes - -' +```js +export { syntaxHighlighter as theme } from '@mdx-deck/themes' ``` --- Syntax Highlighter Prism -```mdx -export { syntaxHighlighterPrism as theme } from 'mdx-deck/themes - -' +```js +export { syntaxHighlighterPrism as theme } from '@mdx-deck/themes' ``` --- Aspect 16:9 -```mdx -export { aspect as theme } from '@mdx-deck/themes - -' +```js +export { aspect as theme } from '@mdx-deck/themes' ``` --- Aspect 4:3 -```mdx -export { aspect43 as theme } from '@mdx-deck/themes - -' +```js +export { aspect43 as theme } from '@mdx-deck/themes' ``` diff --git a/package.json b/package.json index 3e3f671..ed38218 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "lint-staged": { "linters": { - "*.{md,mdx,js,json}": [ + "*.{js,json}": [ "prettier --write", "git add" ]