flakestry / flakestry.dev

A public central registry of Nix flakes.
https://flakestry.dev
Apache License 2.0
93 stars 8 forks source link

add support for NOTE, WARNING and IMPORTANT github markdown syntax #28

Closed 9glenda closed 8 months ago

9glenda commented 8 months ago

Render Github markdown syntax

> [!IMPORTANT]
> Render it

[!IMPORTANT] Render it

[!NOTE] 
Render it

[!NOTE] Render it

[!WARNING] 
Render it

[!WARNING] Render it

Example

Example of how it is done currently.

domenkozar commented 8 months ago

cc @sandydoo maybe we just need to update the github markdown parser?

sandydoo commented 8 months ago

There's probably an extension for it. I'll look into it.

sandydoo commented 8 months ago

We can use marked-alert for the rendering and update the CSS generator to include the alert styling.

sandydoo commented 8 months ago

🎉 Now to figure out how to ship this...

Screenshot 2023-10-30 at 19 45 37
sandydoo commented 8 months ago

Now upstreamed to github-markdown-css.