Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPost ¶
Constructs raw html based on a user message. The output must be escaped.
- Blank lines separate paragraphs
- ``` is used to fence code blocks
- Urls become links
- Post id's prefixed with `>>` become thread local links
TODO: This is slow (puts rendering from 2ms to 500ms for a long thread) and should be optimized.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.