Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockRanges ¶
BlockRanges returns complete comparison BBCode blocks, including nested spoiler and comparison tags, as half-open byte ranges in source order.
func MapOutsideBlocks ¶
MapOutsideBlocks applies transform to the text around complete comparison blocks while retaining each block byte for byte. It also transforms an empty fragment before or after a block, as it does for input without any blocks.
func RemoveComparisonBlocks ¶
RemoveComparisonBlocks strips complete comparison blocks without changing the BBCode before or after them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.