Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderFromHTML ¶
RenderFromHTML extracts a structure from the given HTML content and renders a corresponding table of contents as an HTML string.
func RenderFromHTMLWithMaxLevel ¶
RenderFromHTMLWithMaxLevel extracts a structure from the given HTML content and renders a corresponding table of contents as an HTML string, but only considers headers of maxLevel or lower. For example, if maxLevel is 2, only h1s and h2s will be included.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.