From 230d929b452c8b8ba069c2ae4fe29ea30e677a03 Mon Sep 17 00:00:00 2001 From: Sohab Sk Date: Wed, 13 Nov 2024 02:43:48 +0530 Subject: [PATCH 1/2] Added a new rehype plugin to plugins.md Signed-off-by: Sohab Sk --- doc/plugins.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/plugins.md b/doc/plugins.md index cab64965..3724178d 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -42,6 +42,8 @@ The list of plugins: — add citation and bibliography from bibtex * [`rehype-class-names`](https://github.com/riderjensen/rehype-class-names) — add classes by selector +* [`rehype-code-group`](https://github.com/ITZSHOAIB/rehype-code-group) + — group code blocks with highly customizable tabs. Works with any Code Syntax Highlighter. * [`rehype-color-chips`](https://github.com/shreshthmohan/rehype-color-chips) — add color chips to inline code blocks with color codes * [`rehype-components`](https://github.com/marekweb/rehype-components) From e067575eb838239523228ce72092280cd73ae813 Mon Sep 17 00:00:00 2001 From: Sohab Sk Date: Sun, 17 Nov 2024 00:13:30 +0530 Subject: [PATCH 2/2] Update plugins.md Signed-off-by: Sohab Sk --- doc/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins.md b/doc/plugins.md index 2923813c..4d951c99 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -43,7 +43,7 @@ The list of plugins: * [`rehype-class-names`](https://github.com/riderjensen/rehype-class-names) — add classes by selector * [`rehype-code-group`](https://github.com/ITZSHOAIB/rehype-code-group) - — group code blocks with highly customizable tabs. Works with any Code Syntax Highlighter. + — group code blocks (or any element) with highly customizable tabs. * [`rehype-color-chips`](https://github.com/shreshthmohan/rehype-color-chips) — add color chips to inline code blocks with color codes * [`rehype-components`](https://github.com/marekweb/rehype-components)