Skip to content

Commit

Permalink
test: move to code-block-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhe819 committed Aug 7, 2022
1 parent bcda7b7 commit e08a77b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
19 changes: 0 additions & 19 deletions website/_dogfooding/_docs tests/code-wrap-test.md

This file was deleted.

18 changes: 18 additions & 0 deletions website/_dogfooding/_pages tests/code-block-tests.mdx
Expand Up @@ -249,3 +249,21 @@ echo "short_initially_hidden_string"
</Tabs>

[// spell-checker:enable]: #

```jsx showLineNumbers
import React from 'react';
import Layout from '@theme/Layout';
export default function MyReactPage() {
return (
<Layout>
<h1>My React page</h1>
<p>
This is a React page. Let's make this sentence bit long. Some more words
to make sure... Some more words to make sure... Some more words to make
sure...
</p>
</Layout>
);
}
```

0 comments on commit e08a77b

Please sign in to comment.