Namespace: toc

Marked.toc

Table of Contents handlers

Properties:
Name Type Description
fastSearch boolean

In fast search mode

showing boolean

Whether table of contents is currently visible

typeahead object

Typeahead search panel {showing:{boolean}, active: {boolean}}

Requires

Methods

hide()

Hide table of contents popup or sidebar

(static) init() → {boolean}

Initialize and generate table of contents

Returns:

success

Type
boolean

show()

Show table of contents popup or sidebar

toggle()

Toggle TOC popup or sidebar visible/hidden