flakestry / flakestry.dev

A public central registry of Nix flakes.

Home Page:https://flakestry.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add support for NOTE, WARNING and IMPORTANT github markdown syntax

9glenda opened this issue · comments

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.

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

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

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

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

Screenshot 2023-10-30 at 19 45 37

Now upstreamed to github-markdown-css.