Skip to content

Commit 2054bcc

Browse files
authored
fix(CONTRIBUTING): use backticks in example code (#7835)
Update CONTRIBUTING.md Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent c757502 commit 2054bcc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,14 +375,14 @@ To edit an existing article, you need to find the markdown file in the `site/pag
375375

376376
The codebox component is used to display code snippets. If two code snippets follow without any text between them, they will be displayed in the same codebox, but with two tabs.
377377

378-
```md
379-
'''cjs
378+
````md
379+
```cjs
380380
const http = require('node:http');
381-
'''
381+
```
382382

383-
'''mjs
383+
```mjs
384384
import http from 'node:http';
385-
'''
386385
```
386+
````
387387

388388
`cjs` and `mjs` are variants of `js`, it's just to display the correct language in the codebox (cjs = CommonJS, mjs = ES Module).

0 commit comments

Comments
 (0)