Skip to content

Commit cdfc4b6

Browse files
authored
docs: typo (#581)
1 parent f32add7 commit cdfc4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/packages/rehype.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const file = await unified()
8686
This is deprecated. It's disabled by default in `v0.10.0` and will be removed in the next minor. Consider use [`transformerNotationHighlight`](https://shiki.style/packages/transformers#transformernotationhighlight) instead.
8787
:::
8888

89-
In addition to the features of `shiki`, this plugin also supports line highlighting. You can specify line numbers to highlight after the language name in the format `{<line-numbers>}` - a comma separated list of `<line-number>`s, wrapped in curly braces. Each line number can be a single number (e.g. `{2}` highlights line 2 and `{1,4}` highlights lines 1 and 4) or a range (e.g. `{5-7}` highlights lines 1 through 7, and `{1-3,5-6}` highlights lines 1 through 3 and 5 through 6). For example:
89+
In addition to the features of `shiki`, this plugin also supports line highlighting. You can specify line numbers to highlight after the language name in the format `{<line-numbers>}` - a comma separated list of `<line-number>`s, wrapped in curly braces. Each line number can be a single number (e.g. `{2}` highlights line 2 and `{1,4}` highlights lines 1 and 4) or a range (e.g. `{1-7}` highlights lines 1 through 7, and `{1-3,5-6}` highlights lines 1 through 3 and 5 through 6). For example:
9090

9191
````md
9292
```js {1,3-4}

0 commit comments

Comments
 (0)