From 2328a78ed00d4f4b380579b18314798148c99b16 Mon Sep 17 00:00:00 2001 From: earlAchromatic <68669571+earlAchromatic@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:16:38 -0500 Subject: [PATCH] Add color codes to fixture so swatch is rendered --- fixture.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fixture.md b/fixture.md index b4b97b2..469358c 100644 --- a/fixture.md +++ b/fixture.md @@ -22,6 +22,10 @@ > [!WARNING] > Critical content demanding immediate user attention due to potential risks. +#### Color swatch + +GitHub Markdown API renders a color swatch when you write `#FFA22E` or `rgb(127, 255, 0)`. + ### Code snippet https://github.com/sindresorhus/generate-github-markdown-css/blob/6d6a328dc9706d4e6f1bcc524ed1ad1b0448a3ea/index.js#L25-L28