oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/fire/entry_methods.typ
453 bytes, 1 run
created by r1870400018:72592, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // An element's scoped functions are its content's methods: `it.prefix()`, `it.body()`, `it.page()` and |
| 2 | // `it.indented(..)` on an `outline.entry` in a show rule (outrageous, clean-dhbw, latex-lookalike). |
| 3 | #set heading(numbering: "1.") |
| 4 | #show outline.entry: it => link( |
| 5 | it.element.location(), |
| 6 | it.indented(if it.prefix() == none { [--] } else { it.prefix() }, it.body() + h(1fr) + it.page()), |
| 7 | ) |
| 8 | #outline() |
| 9 | = One |
| 10 | == One A |
| 11 | #heading(numbering: none)[Two] |