Skip to main content

Module render

Module render 

Source

Functionsยง

highlight_code
Syntax highlight code using syntect, returning an HTML string.
render_markdown
Convert Markdown to HTML using comrak with GFM extensions enabled.
wrap_plain_text
Wrap plain text in HTML-safe <pre><code> tags.