Styling

diatypst includes some default styling for commonly used elements in typst. They all follow the theme color that was set in the call to diatypst (by default a dark blue).

Terms

A typst term:

/ *Term*: Definition

will look like this:

Term Styling

Code Blocks

A code block:

```python
// Example Code
print("Hello World")
```

will look like this:

Code Styling

Quotes

A quote:

#quote(attribution: [Plato])[
  This is a quote
]

will look like this:

Quote Styling

Tables

A table:

#table(
  columns: 3,
  [*Header*],[*Header*],[*Header*],
  [Cell],[Cell],[Cell],
  [Cell],[Cell],[Cell],
)

will look like this:

Table Styling

Lists

And finally, lists:

// unnumbered
- A
  - AAA
    - B
// or numbered
1. AAA
2. BBB
3. CCC

will look like this

List Styling