// Test references to footnotes. --- A footnote #footnote[Hi] \ A reference to it @fn --- // Multiple footnotes are refs First #footnote[A] \ Second #footnote[B] \ First ref @fn1 \ Third #footnote[C] \ Fourth #footnote[D] \ Fourth ref @fn4 \ Second ref @fn2 \ Second ref again @fn2 --- // Forward reference Usage @fn \ Definition #footnote[Hi] --- // Footnote ref in footnote #footnote[Reference to next @fn] #footnote[Reference to myself @fn] #footnote[Reference to previous @fn] --- // Styling #show footnote: text.with(fill: red) Real #footnote[...] \ Ref @fn --- // Footnote call with label #footnote() #footnote[Hi] #ref() #footnote()