Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSamePageSlug ¶
CreateSamePageSlug creates slug out of a title.
func CreateTOC ¶
TODO: Separate the anchor tag (for permalink) insertion logic. CreateTOC creates a table of contents out of the markup and a markup with permalink on the headings. Returns the table of contents in a JSON format and the edited markup.
func InsertAnchorTag ¶
InsertAnchorTag inserts anchor tags inside a heading.
func RemoveAnchorTag ¶
RemoveAnchorTag removes anchor tags inside a heading.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.