diff options
author | Hakim El Hattab | 2020-01-29 14:01:51 +0100 |
---|---|---|
committer | GitHub | 2020-01-29 14:01:51 +0100 |
commit | 33ed32c4f018e4a14a6f10261336c445f42f1351 (patch) | |
tree | cdd9cd2522ce8a4429187eedf2e5b28930023525 | |
parent | 8a54118f43b91030f3965088d5e1c1c7598a5cd3 (diff) |
add step-by-step highlights to readme
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |