aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/typstyle/in.typ
blob: 7efdeb15f1ba286ad24b01b82cb17c365103e7b4 (plain)
1
2
3
4
5
6
7
8
9
10
#{
    let (title,
        _) = query(heading.where(level:
        1)).map(e => (
    e.body,
      e.location()
          .page(),
        )).rev().find(((_, v)) => v
        <= page)
}