Skip to content

Commit

Permalink
docs: Add code example
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Okonetchnikov committed Apr 12, 2020
1 parent 74e27e1 commit ce4465b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 45 deletions.
4 changes: 4 additions & 0 deletions examples/example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ function Code({ children, language, inline = false }) {

---

<Code language="jsx">{require('raw-loader!./assets/codeExample.txt')}</Code>

---

<LiveCode code={require('raw-loader!./assets/codeExample.txt')} />

---
Expand Down
45 changes: 0 additions & 45 deletions patches/@mdx-deck+gatsby-plugin+4.1.1.patch

This file was deleted.

0 comments on commit ce4465b

Please sign in to comment.