#Table of contents

4 messages · Page 1 of 1 (latest)

sacred lava
#

?render

#let listofcontents = {
  locate(loc => {
    let elems = query(
      heading,
      after: loc
    );
    elems.map(e => link(e.location())[#e.body]).join("\n")
  linebreak();
  });
}

#listofcontents

= Foo

= Bar

= Xyz
livid crown