Skip to content

Commit

Permalink
Revert code-block-tests.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Apr 20, 2022
1 parent 82966a2 commit 4b19c7a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions website/_dogfooding/_pages tests/code-block-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ class HelloWorld {
}
```

```js
function PageLayout(props) {
// highlight-next-line
return <Layout title="My awesome Docusaurus page" description="Just one more awesome p">;
}
```

See:

- https://github.com/facebook/docusaurus/pull/1584
Expand Down Expand Up @@ -116,7 +109,7 @@ Multi-line text inside `pre` will turn into one-liner, but it's okay (https://gi

<CodeBlock>1 2 3</CodeBlock>

<CodeBlock className="language-yaml" title="test" showLineNumbers>
<CodeBlock className="language-yaml" title="test">
{`link:
title: front page
path: /docs/`}
Expand Down

0 comments on commit 4b19c7a

Please sign in to comment.