diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-04-17 13:25:31 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-04-17 13:26:49 +0200 |
| commit | 9bdc4a7de0fb685fa2b8d02280e70aa0b5d92bf9 (patch) | |
| tree | e67c75c32183e734272943107ad2d034b1e8e818 /src/eval | |
| parent | 428c55b6eed3536bb228924c6fb0ad6cea6d6d4b (diff) | |
Write PDF outline
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/library.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval/library.rs b/src/eval/library.rs index b93aa0dd..0c635864 100644 --- a/src/eval/library.rs +++ b/src/eval/library.rs @@ -72,6 +72,8 @@ pub struct LangItems { ) -> Vec<(EcoString, Option<EcoString>)>, /// A section heading: `= Introduction`. pub heading: fn(level: NonZeroUsize, body: Content) -> Content, + /// The heading function. + pub heading_func: ElemFunc, /// An item in a bullet list: `- ...`. pub list_item: fn(body: Content) -> Content, /// An item in an enumeration (numbered list): `+ ...` or `1. ...`. |
