From 08070356c0e85354f3d67870502a1eb391230fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Talat=20K=C3=BCy=C3=BCk?= Date: Mon, 24 Jun 2024 11:53:36 +0300 Subject: [PATCH] Add `rehype-highlight-code-lines` to list of plugins Closes GH-172 Reviewed-by: Titus Wormer --- doc/plugins.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/plugins.md b/doc/plugins.md index 45f67ce4..7d21ac83 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -68,6 +68,8 @@ The list of plugins: — syntax highlight code blocks with Highlight.js via `lowlight` * [`rehype-highlight-code-block`](https://github.com/mapbox/rehype-highlight-code-block) — syntax highlight code blocks with any function you provide +* [`rehype-highlight-code-lines`](https://github.com/ipikuka/rehype-highlight-code-lines) + — add line numbers to code blocks; allow highlighting of desired code lines * [`rehype-infer-description-meta`](https://github.com/rehypejs/rehype-infer-description-meta) — infer file metadata from the contents of the document * [`rehype-infer-reading-time-meta`](https://github.com/rehypejs/rehype-infer-reading-time-meta)