Skip to content

Commit 1c9ab80

Browse files
authored
Update more-features.mdx
1 parent dd19426 commit 1c9ab80

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/getting-started/more-features.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,22 +267,22 @@ This code block will only add a dark background to the text.
267267
To create a multi-line code block without syntax highlight, wrap the text between triple backticks
268268
on first and last line. This type of code block will encase the code inside a box.
269269

270+
````
270271
```
271-
\```
272272
message = "Hello world!"
273273
print(message)
274-
\```
275274
```
275+
````
276276

277277
To create a multi-line block with syntax highlight, add the name of the language you are using right after
278278
the triple backticks on the first line. For example, for Python you can write either "python" or "py".
279279

280-
```
281-
\```python
280+
````
281+
```python
282282
message = "Hello world!"
283283
print(message)
284-
\```
285284
```
285+
````
286286

287287
If you want to use syntax highlight for a single line of code, you still have to format it
288288
like a multi-line block but the code must be on a separate line than the triple backticks.

0 commit comments

Comments
 (0)