typst-0.6.2: test/typ/layout/par-indent-00.typ
#set par(first-line-indent: 12pt, leading: 5pt)
#set block(spacing: 5pt)
#show heading: set text(size: 10pt)
The first paragraph has no indent.
But the second one does.
#box(image("/assets/files/tiger.jpg", height: 6pt))
starts a paragraph, also with indent.
#align(center, image("/assets/files/rhino.png", width: 1cm))
= Headings
- And lists.
- Have no indent.
Except if you have another paragraph in them.
#set text(8pt, lang: "ar", font: ("Noto Sans Arabic", "Linux Libertine"))
#set par(leading: 8pt)
= Arabic
دع النص يمطر عليك
ثم يصبح النص رطبًا وقابل للطرق ويبدو المستند رائعًا.