Skip to content

Commit 776016d

Browse files
Add color codes to fixture so swatch is rendered (#42)
1 parent 994fb54 commit 776016d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fixture.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
> [!WARNING]
2323
> Critical content demanding immediate user attention due to potential risks.
2424
25+
#### Color swatch
26+
27+
GitHub Markdown API renders a color swatch when you write `#FFA22E` or `rgb(127, 255, 0)`.
28+
2529
### Code snippet
2630

2731
https://github.com/sindresorhus/generate-github-markdown-css/blob/6d6a328dc9706d4e6f1bcc524ed1ad1b0448a3ea/index.js#L25-L28

0 commit comments

Comments
 (0)