render

package module
v0.0.0-...-add5d3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package render converts trusted Markdown to HTML with opinionated GFM-style extensions and MathML. It preserves authored raw HTML and is not a sanitizer.

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidMath = errors.New("invalid Markdown math")

ErrInvalidMath reports malformed LaTeX inside recognized math delimiters.

Functions

func Render

func Render(source string) (template.HTML, error)

Render converts trusted Markdown to HTML.

Types

This section is empty.

Directories

Path Synopsis
internal
markdown
Package markdown parses and formats Markdown.
Package markdown parses and formats Markdown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL