From a03915428cb94e823563220aae00702aa76edc54 Mon Sep 17 00:00:00 2001 From: Benjamin Charity Date: Sat, 3 Feb 2024 18:30:30 -0500 Subject: [PATCH 1/4] Update plugins.md Add new 'scroll to top' plugin --- doc/plugins.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/plugins.md b/doc/plugins.md index 3d6d9288..760fc0e7 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -169,6 +169,8 @@ The list of plugins: — rewrite element with rehype * [`rehype-sanitize`](https://github.com/rehypejs/rehype-sanitize) — sanitize HTML +* [`rehype-scroll-to-top`](https://github.com/benjamincharity/rehype-scroll-to-top) + — add customizable "Scroll to Top" and "Scroll to Bottom" links to HTML documents * [`rehype-section`](https://github.com/agentofuser/rehype-section) — wrap headings and their contents into nested `
` elements * [`rehype-sectionize`](https://github.com/hbsnow/rehype-sectionize) From 45a7f494f6aefc08f799abb2cc40621b02fd9ae5 Mon Sep 17 00:00:00 2001 From: Benjamin Charity Date: Sun, 4 Feb 2024 13:18:42 -0500 Subject: [PATCH 2/4] fix: address line length and incorrect quote type --- doc/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins.md b/doc/plugins.md index 760fc0e7..abae0be5 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -170,7 +170,7 @@ The list of plugins: * [`rehype-sanitize`](https://github.com/rehypejs/rehype-sanitize) — sanitize HTML * [`rehype-scroll-to-top`](https://github.com/benjamincharity/rehype-scroll-to-top) - — add customizable "Scroll to Top" and "Scroll to Bottom" links to HTML documents + — customizable “Scroll to Top” and “Scroll to Bottom” links * [`rehype-section`](https://github.com/agentofuser/rehype-section) — wrap headings and their contents into nested `
` elements * [`rehype-sectionize`](https://github.com/hbsnow/rehype-sectionize) From 6aa569db94e275c13775762795473538bf35f948 Mon Sep 17 00:00:00 2001 From: Benjamin Charity Date: Sun, 4 Feb 2024 19:03:03 -0500 Subject: [PATCH 3/4] chore: add new semantic images plugin --- doc/plugins.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/plugins.md b/doc/plugins.md index abae0be5..29b18284 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -169,6 +169,8 @@ The list of plugins: — rewrite element with rehype * [`rehype-sanitize`](https://github.com/rehypejs/rehype-sanitize) — sanitize HTML +* [`rehype-semantic-images`](https://github.com/benjamincharity/rehype-semantic-images) + — Enrich HTML images with semantic elements and customizable features * [`rehype-scroll-to-top`](https://github.com/benjamincharity/rehype-scroll-to-top) — customizable “Scroll to Top” and “Scroll to Bottom” links * [`rehype-section`](https://github.com/agentofuser/rehype-section) From 399547551f19e9d5ace23c4a967f887a3a02a928 Mon Sep 17 00:00:00 2001 From: Benjamin Charity Date: Mon, 5 Feb 2024 13:08:31 -0500 Subject: [PATCH 4/4] fix: correct alpha order and casing --- doc/plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plugins.md b/doc/plugins.md index 29b18284..7acbeb9f 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -169,8 +169,6 @@ The list of plugins: — rewrite element with rehype * [`rehype-sanitize`](https://github.com/rehypejs/rehype-sanitize) — sanitize HTML -* [`rehype-semantic-images`](https://github.com/benjamincharity/rehype-semantic-images) - — Enrich HTML images with semantic elements and customizable features * [`rehype-scroll-to-top`](https://github.com/benjamincharity/rehype-scroll-to-top) — customizable “Scroll to Top” and “Scroll to Bottom” links * [`rehype-section`](https://github.com/agentofuser/rehype-section) @@ -178,6 +176,8 @@ The list of plugins: * [`rehype-sectionize`](https://github.com/hbsnow/rehype-sectionize) — wrap headings and their contents into nested `
` elements, with attributes +* [`rehype-semantic-images`](https://github.com/benjamincharity/rehype-semantic-images) + — enrich HTML images with semantic elements and customizable features * [`rehype-shift-heading`](https://github.com/rehypejs/rehype-shift-heading) — change the rank of headings * [`rehype-shiki`](https://github.com/rsclarke/rehype-shiki)