From 97b25e00a45c9e2731260fb92e48b6b7fdf921dd Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 27 Nov 2024 16:31:53 +0100 Subject: [PATCH] Add security, related sections --- readme.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 50412a8..43330b5 100644 --- a/readme.md +++ b/readme.md @@ -210,10 +210,15 @@ but this is not guaranteed. ## Security -To do. +Be wary of user input and use [`rehype-sanitize`][rehype-sanitize]. ## Related +* [`rehype-sanitize`][rehype-sanitize] + — sanitize HTML +* [`rehype-starry-night`][rehype-starry-night] + — apply syntax highlighting to code with `starry-night` + ## Contribute See [`contributing.md`][contributing] in [`rehypejs/.github`][health] for