Skip to content

yarom82/snabbdom-toc

Repository files navigation

snabbdom-toc

Greenkeeper badge Build Status

Generates a table of contents for a provided VNode[].

API

snabbdomToc(content: VNode[]) => VNode

Example

Input:

Blandita quis umeros vomere

Ire regnum errent dum

Lorem markdownum magis ad hunc.

Omnes ianua si

Interea te vultus Gallicus adpareat praevertunt et sed temptat quae pro quoque nullisque questus.

Et tuum cuius praebebatque

Pavetque Sicelidas aethera coetum Cepheaque torrens ecquid.

Levem si cui, scelerata vulnera!

Output:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published