1= Basics
2
3Typst uses a simple markup syntax. This document covers headings, paragraphs, emphasis, and lists.
4
5== Headings
6
7Headings use `=` signs. More signs means deeper nesting:
8
9= Level 1
10== Level 2
11=== Level 3
12==== Level 4
13
14== Emphasis
15
16This is *bold text* and this is _italic text_. You can combine *_bold italic_* too.
17
18Inline `code` uses backticks.
19
20== Lists
21
22Unordered lists use `-`:
23
24- first item
25- second item
26 - nested item
27 - another nested item
28- third item
29
30Numbered lists use `+`:
31
32+ first step
33+ second step
34 + sub-step a
35 + sub-step b
36+ third step
37
38Term lists use `/`:
39
40/ Typst: a markup-based typesetting system
41/ sublimated: a git-native content platform
42/ CAS: content-addressable storage
43
44== Links and references
45
46A URL: https://sublimated.com
47
48A labeled link: #link("https://sublimated.com")[sublimated]
49
50== Paragraphs
51
52Paragraphs are separated by blank lines. This is the first paragraph with some text to demonstrate line wrapping and how typst handles longer blocks of content.
53
54This is a second paragraph. Typst reflows text automatically, producing clean justified output with proper hyphenation.
55
56== Horizontal rules
57
58A horizontal rule:
59
60#line(length: 100%)
61
62== Quotes
63
64#quote(block: true, attribution: [Rich Hickey])[
65 Simplicity is a prerequisite for reliability.
66]