Unverified Commit 0b8a0fb4 authored by Joseph's avatar Joseph Committed by GitHub

docs: escape literal triple-backticks in contribution guide (#93584)

Updates:
https://nextjs.org/docs/community/contribution-guide#language-and-filename

to:


<img width="1335" height="690" alt="Screenshot 2026-05-07 at 14 26 35"
src="https://github.com/user-attachments/assets/588799a3-1a0e-4696-9600-627df270f48e"
/>
parent d457e63e
...@@ -243,17 +243,17 @@ Most examples in the docs are written in `tsx` and `jsx`, and a few in `bash`. H ...@@ -243,17 +243,17 @@ Most examples in the docs are written in `tsx` and `jsx`, and a few in `bash`. H
When writing JavaScript code blocks, we use the following language and extension combinations. When writing JavaScript code blocks, we use the following language and extension combinations.
| | Language | Extension | | | Language | Extension |
| ------------------------------ | -------- | --------- | | ------------------------------ | ---------- | --------- |
| JavaScript files with JSX code | ```jsx | .js | | JavaScript files with JSX code | ` ```jsx ` | .js |
| JavaScript files without JSX | ```js | .js | | JavaScript files without JSX | ` ```js ` | .js |
| TypeScript files with JSX | ```tsx | .tsx | | TypeScript files with JSX | ` ```tsx ` | .tsx |
| TypeScript files without JSX | ```ts | .ts | | TypeScript files without JSX | ` ```ts ` | .ts |
> **Good to know**: > **Good to know**:
> >
> - Make sure to use **`.js`** extension for JavaScript files with **JSX** code. > - Make sure to use **`.js`** extension for JavaScript files with **JSX** code.
> - For example, ```jsx filename="app/layout.js" > - For example, ` ```jsx filename="app/layout.js" `
### TS and JS Switcher ### TS and JS Switcher
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment