How is the Fresh site documentation generated from Markdown? #2309
-
I am curious and must ask: how is the Fresh site documentation generated from Markdown? It is quite lovely. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
marvinhagemeister
Feb 13, 2024
Replies: 1 comment
-
The code we use to render the markdown can be found here https://github.com/denoland/fresh/blob/d19c22d5921bdf21de9a7d7bc043b8523ac81893/www/utils/markdown.ts . We use a custom markdown renderer for |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
admercs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code we use to render the markdown can be found here https://github.com/denoland/fresh/blob/d19c22d5921bdf21de9a7d7bc043b8523ac81893/www/utils/markdown.ts . We use a custom markdown renderer for
marked
. If you want a ready made library for that many folks use this one https://deno.land/x/gfm@0.6.0 .