module Toc
Defined in:
toc.crClass Method Summary
-
.extract_and_annotate(html : String) : Tuple(String, String)
Extract table of contents from HTML and add anchors to headings Returns a tuple of [html_with_anchors, toc_html_fragment]
Class Method Detail
def self.extract_and_annotate(html : String) : Tuple(String, String)
#
Extract table of contents from HTML and add anchors to headings Returns a tuple of [html_with_anchors, toc_html_fragment]