I try to understand how to import show heading. I copied an example (working) and cut it in a main and an imported file and it stoped working.
The file dragon.typ to import:
#show heading: set align(center)
#show heading: set text(font: "DejaVu Sans Mono" )
#show heading: it => block[
\~
#emph(it.body)
#counter(heading).display(it.numbering)
\~
]
and the main:
#import "dragon.typ" : *
#set heading(numbering: "(I)")
= Dragon
With a base health of 15, the dragon is the most
powerful creature.
= Manticore
While less powerful than the dragon, the manticore
gets extra style points.
The show heading - which I understand is executed on import - is not showing effect. The titles are left aligned, not centered, not italics etc. What is my misunderstanding?