Module

PuduLangDocgen.Site.Format

View source

Published HTML laid out with two-space indentation

Functions

Name Description
html HTML with block elements on their own lines indented two spaces per level. Text, inline markup, and the content of `pre`, `script`, `style`, and `textarea` keep their exact form.

html

fn html(document: Str) -> Str

HTML with block elements on their own lines indented two spaces per level. Text, inline markup, and the content of pre, script, style, and textarea keep their exact form.

Parameters

document
Str

Returns

Str

View source