summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHakim El Hattab2020-01-29 14:01:51 +0100
committerGitHub2020-01-29 14:01:51 +0100
commit33ed32c4f018e4a14a6f10261336c445f42f1351 (patch)
treecdd9cd2522ce8a4429187eedf2e5b28930023525
parent8a54118f43b91030f3965088d5e1c1c7598a5cd3 (diff)
add step-by-step highlights to readme
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a3178c..7f78d97 100644
--- a/README.md
+++ b/README.md
@@ -999,6 +999,10 @@ function Example() {
<img width="300" alt="line-numbers" src="https://user-images.githubusercontent.com/629429/55332077-eb3c4780-5494-11e9-8854-ba33cd0fa740.png">
+#### Step-by-step Highlights
+
+You can step through multiple code highlights on the same code block. Delimit each of your highlight steps with the `|` character. For example `data-line-numbers="1|2-3|4,6-10"` will produce three steps. It will start by highlighting line 1, next step is lines 2-3, and finally line 4 and 6 through 10.
+
### Slide number