transform.CanHighlight
Reports whether the given code language is supported by the Chroma highlighter.
transform.Emojify
Runs a string through the Emoji emoticons processor.
transform.Highlight
Renders code with a syntax highlighter.
transform.HighlightCodeBlock
Highlights code received in context within a code block render hook.
transform.HTMLEscape
Returns the given string, escaping special characters by replacing them with HTML entities.
transform.HTMLUnescape
Returns the given string, replacing each HTML entity with its corresponding character.
transform.Markdownify
Renders Markdown to HTML.
transform.Plainify
Returns a string with all HTML tags removed.
transform.Remarshal
Marshals a string of serialized data, or a map, into a string of serialized data in the specified format.
transform.ToMath
Renders mathematical equations and expressions written in the LaTeX markup language.
transform.Unmarshal
Parses serialized data and returns a map or an array. Supports CSV, JSON, TOML, YAML, and XML.
transform.XMLEscape
Returns the given string, removing disallowed characters then escaping the result to its XML equivalent.