Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTMLFromMarkdown ¶
func InnerTextFromMarkdown ¶ added in v2.35.0
InnerTextFromMarkdown renders Markdown (including embedded raw HTML) to HTML and returns its visible text ("innerText"). Block, code-line, and table-cell boundaries become newlines and intra-line whitespace is collapsed; link text is kept but URLs, images, and badges are dropped.
Input is untrusted: a parser panic is recovered and returned as an error.
func PlaintextFromMarkdown ¶
PlaintextFromMarkdown function converts the description with optional Markdown tags to the plaintext form.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.