Namespace: highlightNav

Marked.highlightNav

Keyword highlighting features

Methods

generate()

Generate index of highlights

Navigate elements

Parameters:
Name Type Description
type string

The highlight type to target

dir string

The direction (prev or next)

Returns:

success

Type
boolean

updateIndex(e)

Update current index to specified element

Parameters:
Name Type Description
e DOMEvent

DOM Event