Hi!
Current code:
#set heading(numbering: "1.")
#let note(
date,
number,
note-type,
) = {
assert(type(note-type) == content)
let note-title = note-type.text + ": " + "#" + str(number)
heading(level: 1)[
#note-type \##number
]
[
Date: #date
]
}
#outline()
#note("20.09.2024", 1)[Lecture]
Question
How do I properly reference this #note("20.09.2024", 1)[Lecture]?
The obvious #note("20.09.2024", 1)[Lecture] <label> does work ofc, bc other than heading there is also some content (date)