Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion drafting.typ
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,14 @@
level: 1,
/// Spacing between outline elements -> relative
row-gutter: 10pt,
/// Whether the outline heading should receive a number
number-heading: false,
) = context {
heading(level: level, title)
heading(
level: level,
numbering: if number-heading { none } else { heading.numbering },
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be reversed? if number-heading { heading.numbering } else { none }

title,
)

let notes = query(selector(<margin-note>).or(<inline-note>)).map(note => {
show: box // do not break entries across pages
Expand Down