Skip to content

How is the Fresh site documentation generated from Markdown? #2309

Answered by marvinhagemeister
admercs asked this question in Q&A
Discussion options

You must be logged in to vote

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 .

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by admercs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants