Skip to content

Commit 4bfb837

Browse files
committed
fix(readme): tidy up markup of nested code blocks
Using solution from https://stackoverflow.com/a/42320033/325365, credits go to @B4nan
1 parent 2f91b16 commit 4bfb837

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ Instead, try to be more descriptive, for example:
4343
- For inline `code` examples, use **back-ticks** (\` \`).
4444
- For multi-line code examples, use code fences and specify the language. Preferably, specify the title as well. Within platform documentation, always use [Code tabs](README.md#code-tabs) and declare the language.
4545

46-
```markdown
47-
\`\`\`js showLineNumbers title='foo.js'
46+
``````markdown
47+
```js showLineNumbers title='foo.js'
4848

4949
const docsAreCool = require('coolDocs'); <br/>
5050
...<br/>
5151
return docsAreCool;<br/>
5252

53-
\`\`\`
5453
```
54+
``````
5555

5656
Check out [Markdown features](https://docusaurus.io/docs/markdown-features) in the Docusaurus docs for more information.
5757

0 commit comments

Comments
 (0)