File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ Add a title after the programming language to label your code example. Titles ca
7676const hello = " world" ;
7777```
7878
79- ```` mdx Code Block Example
79+ ```` mdx
8080``` javascript Code Block Example
8181const hello = " world" ;
8282```
@@ -98,7 +98,7 @@ const hello = "world";
9898## Line Highlighting
9999Highlight specific lines in your code blocks using ` highlight ` with the line numbers or ranges you want to highlight.
100100
101- ``` javascript Line Highlighting Example highlight={1,3- 5}
101+ ``` javascript Line Highlighting Example highlight={1-2, 5}
102102const greeting = " Hello, World!" ;
103103function sayHello () {
104104 console .log (greeting);
@@ -107,7 +107,7 @@ sayHello();
107107```
108108
109109```` mdx
110- ``` javascript Line Highlighting Example highlight={1,3- 5}
110+ ``` javascript Line Highlighting Example highlight={1-2, 5}
111111const greeting = " Hello, World!" ;
112112function sayHello () {
113113 console .log (greeting);
You can’t perform that action at this time.
0 commit comments