module Toc

Defined in:

toc.cr

Class Method Summary

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]


[View source]