You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code.mdx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,7 @@ class HelloWorld {
40
40
41
41
## Syntax Highlighting
42
42
43
-
Put the name of your programming language after the three backticks to get syntax highlighting.
44
-
45
-
We use [Prism](https://prismjs.com/#supported-languages) for syntax highlighting. [Test Drive Prism](https://prismjs.com/test.html#language=markup) lists all the languages supported.
43
+
Enable syntax highlighting by adding the language name after the opening backticks of a code snippet.
46
44
47
45
```java
48
46
classHelloWorld {
@@ -62,6 +60,8 @@ class HelloWorld {
62
60
```
63
61
````
64
62
63
+
We use [Shiki](https://shiki.style/guide) for syntax highlighting and support all available [languages](https://shiki.style/languages).
64
+
65
65
## Names
66
66
67
67
Add a title after the programming language to set the name of your code example. The text can be anything as long as its all in one line.
0 commit comments