|
| 1 | +#set page(paper: "a5") |
| 2 | +#set heading(numbering: "1.") |
| 3 | + |
| 4 | +#show link: set text(fill: blue, weight: 700) |
| 5 | +#show link: underline |
| 6 | + |
| 7 | += The Typst Playground |
| 8 | + |
| 9 | +Welcome to the Typst Playground! This is a sandbox where you can experiment with Typst. You can type anywhere in the editor panel on the left. The preview panel to the right will update live. |
| 10 | + |
| 11 | += Basics <basics> |
| 12 | + |
| 13 | +Typst is a _markup_ language. You use it to express not just the content, but also the structure and formatting of your document. For example, surrounding a word with underscores _emphasizes_ it with italics and starting a line with an equals sign creates a section heading. |
| 14 | + |
| 15 | +Typst has lightweight syntax like this for the most common formatting needs. Among other things, you can use it to: |
| 16 | + |
| 17 | +- *Strongly emphasize* some text |
| 18 | +- Refer to @basics |
| 19 | +- Typeset math: $a, b in { 1/2, sqrt(4 a b) }$ |
| 20 | + |
| 21 | +That's just the surface though! Typst has powerful systems for scripting, styling, introspection, and more. In the realm of a Typst document, there is nothing you can't automate. |
| 22 | + |
| 23 | += Next steps |
| 24 | + |
| 25 | +To learn more about Typst, we recommend you to check out our tutorial at https://typst.app/docs/tutorial. |
| 26 | + |
| 27 | +Once you've explored Typst a bit, why not set yourself up a proper editing environment? |
| 28 | + |
| 29 | +#import "@preview/tiaoma:0.3.0" |
| 30 | +#let next-step(url, body) = grid( |
| 31 | + columns: 2, |
| 32 | + gutter: 1em, |
| 33 | + tiaoma.qrcode(url, width: 3em), |
| 34 | + { |
| 35 | + show strong: link.with(url) |
| 36 | + body |
| 37 | + } |
| 38 | +) |
| 39 | + |
| 40 | +#next-step("https://typst.app/signup")[ |
| 41 | + To get access to multi-file projects, live collaboration, and more, *sign up* to our web app for free. |
| 42 | +] |
| 43 | + |
| 44 | +#next-step("https://typst.app/open-source/#download")[ |
| 45 | + You can also *download* our free and open-source command line tool to continue your journey locally. |
| 46 | +] |
0 commit comments