transform.CanHighlight
Reports whether the given language is supported for syntax highlighting.
transform.Emojify
Returns the given string with emoji shortcodes replaced by their corresponding emoji characters.
transform.Highlight
Returns the given code rendered with a syntax highlighter.
transform.HighlightCodeBlock
Returns highlighted 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.HTMLToMarkdown
Returns the given HTML converted to Markdown.
transform.HTMLUnescape
Returns the given string, replacing each HTML entity with its corresponding character.
transform.Markdownify
Returns the given Markdown rendered to HTML.
transform.Plainify
Returns a string with all HTML tags removed.
transform.PortableText
Returns the given Portable Text converted to Markdown.
transform.Remarshal
Returns a string of serialized data in the specified format, marshaled from a string of serialized data or a map.
transform.ToMath
Returns the given mathematical markup, written in the LaTeX language, rendered to HTML.
transform.Unmarshal
Returns a map or an array parsed from serialized data in CSV, JSON, TOML, YAML, or XML format.
transform.XMLEscape
Returns the given string, removing disallowed characters then escaping the result to its XML equivalent.
