## Syntax Highlighting in Code Blocks <Badge text="default theme"/>
VuePress uses [Prism](https://prismjs.com/) to highlight language syntax in markdown code blocks, using coloured text. Prism supports a wide variety of programming languages. All you need to do is append a valid language alias to the beginning backticks for the code block:
...
...
@@ -161,7 +161,7 @@ export default {
Check out [the list of valid languages](https://prismjs.com/#languages-list) on the Prism website.
## Line Highlighting in Code Blocks
## Line Highlighting in Code Blocks <Badge text="default theme"/>
```` md preview
``` js{4}
...
...
@@ -175,7 +175,7 @@ export default {
```
````
## Line Numbers
## Line Numbers <Badge text="default theme"/>
You can enable line numbers for each code blocks via config: