We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2fc58a commit 13792f1Copy full SHA for 13792f1
docs/content/basic-syntax/codeBlocks.md
@@ -4,14 +4,19 @@ description = ""
4
weight = 10
5
+++
6
7
+As you go to the next slide this code block will first highlight lines 1-2, then line 3, then finally line 4.
8
+
9
+Note: the `js` indicates that this code should be highlighted as javascript
10
```md
11
12
```js [1-2|3|4]
- let a = 1;
- let b = 2;
- let c = x => 1 + 2 + x;
13
- c(3);
14
- ```
+let a = 1;
+let b = 2;
15
+let c = x => 1 + 2 + x;
16
+c(3);
17
+```
18
```
19
-
20
+
21
22
+For the full documentation about what you can do with code blocks see: https://revealjs.com/code/
0 commit comments