render

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT-0 Imports: 12 Imported by: 0

Documentation

Overview

Package render converts Markdown into HTML documents.

Index

Constants

This section is empty.

Variables

View Source
var DefaultCSS string

DefaultCSS is the stylesheet embedded in standalone documents unless the caller overrides or suppresses it.

Functions

func Document

func Document(body, title, css string) string

Document wraps rendered body HTML in a standalone document. An empty css omits the style element entirely.

func New

func New() goldmark.Markdown

New returns the goldmark instance used for rendering. Raw HTML passes through unescaped so markup produced by other tools in the toolkit — mdsidenote's sidenotes in particular — survives rendering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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