Try
= Heading
#dropcap[#lorem(20)]
#h(2em) #lorem(13))
#lorem(20)
From How to have first line indent in a new paragraph after a math block? - #2 by miles-1
This Paragraph Function – Typst Documentation may be the reason:
- Certain paragraph styling like
first-line-indent
will only apply to proper paragraphs, not any text. Similarly,par
show rules of course only trigger on paragraphs.