Skip to content

Commit b3d68c3

Browse files
authored
document switch from Prism to Shiki (#777)
1 parent ae9d54f commit b3d68c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ class HelloWorld {
4040

4141
## Syntax Highlighting
4242

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.
4644

4745
```java
4846
class HelloWorld {
@@ -62,6 +60,8 @@ class HelloWorld {
6260
```
6361
````
6462

63+
We use [Shiki](https://shiki.style/guide) for syntax highlighting and support all available [languages](https://shiki.style/languages).
64+
6565
## Names
6666

6767
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

Comments
 (0)