Skip to content

Commit

Permalink
Add color codes to fixture so swatch is rendered (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
earlAchromatic authored Dec 17, 2024
1 parent 994fb54 commit 776016d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fixture.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 776016d

Please sign in to comment.