Skip to content

Commit

Permalink
docs: document all keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Aug 12, 2024
1 parent a31f6e4 commit 22c2e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/guides/code-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ Similar to the syntax used for selective highlighting, dynamic highlighting will
code block are highlighted every time you move to the next/previous slide.

This is achieved by using the separator `|` to indicate what sections of the code will be highlighted at a given time.
You can also use `all` to highlight all lines.

~~~markdown
```rust {1,3|5-7}
```rust {1,3|5-7|all}
fn potato() -> u32 {

println!("Hello world");
Expand Down

0 comments on commit 22c2e36

Please sign in to comment.