Logo FSharp.Formatting

PageContentList Module

Builds a "page content" table-of-contents menu by scanning heading links in rendered HTML

Functions and values

Function or value Description

EmptyContent

Full Usage: EmptyContent

Returns: string

Placeholder HTML emitted when a page has no headings to list

Returns: string

mkPageContentMenu html

Full Usage: mkPageContentMenu html

Parameters:
    html : string

Returns: string list * string

Parses the rendered HTML to extract heading links and builds a nested

    table-of-contents. We process the html to collect the table of content. We can't use the doc.MarkdownDocument because we cannot easily get the generated id values. It is safer to parse the html.

html : string
Returns: string list * string

Type something to start searching.