aboutsummaryrefslogtreecommitdiff
path: root/example.td
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-19 21:30:32 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-19 21:30:32 +0200
commitec6f949c48323a0bea244b723af547f60e0db33f (patch)
treef20497988d2e2c675153c60892cfe8e5715b7fb3 /example.td
parentfe3e8fe67b7f655699be321796af70d4bdff230f (diff)
style(ast): split paragraph and content
Diffstat (limited to 'example.td')
-rw-r--r--example.td35
1 files changed, 35 insertions, 0 deletions
diff --git a/example.td b/example.td
new file mode 100644
index 0000000..e4fab16
--- /dev/null
+++ b/example.td
@@ -0,0 +1,35 @@
+# Title
+
+A paragraph with *bold elements* and _italic_.
+Also supports `code`, math like $2x+3$, <ref> and [links](https://anhgelus.world/).
+
+## Blocks
+
+Existing blocks:
+- unordered list
+- with multiple items
+
+. ordered list
+. with multiple items :D
+
+<ref: Defining footnotes
+
+> A quote
+> yay
+with an attribution :D
+
+::: info
+A beautiful callout
+:::
+
+$$$
+forall x in RR, quad x^2 = x times x
+$$$
+
+And in typst:
+```typ
+forall x in RR, quad x^2 = x times x
+```
+
+![Alt](/link/to/image)
+and it's attribution