Skip to content

Commit e99ce7a

Browse files
committed
fix(docs): correctly demonstrate code blocks within code blocks
1 parent e048d8d commit e99ce7a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ function main(
4646

4747
After adding a script, update [README.md](README.md) to add a new entry under the corresponding folder section, in alphabetical order. Make sure to use `####` (h4) for script headings so they nest properly under the folder group headers.
4848

49-
```markdown
49+
~~~markdown
50+
---
51+
5052
#### [Script Name](scripts/<folder>/script-name.ts)
5153

5254
One-line description.
@@ -57,15 +59,13 @@ One-line description.
5759

5860
Example input:
5961

60-
\`\`\`json
62+
```json
6163
{ "param": "value" }
62-
\`\`\`
64+
```
6365

6466
Example output:
6567

66-
\`\`\`json
68+
```json
6769
{ "message": "..." }
68-
\`\`\`
69-
70-
---
7170
```
71+
~~~

0 commit comments

Comments
 (0)