
# Typst Formatting Examples

This guide illustrates Typst formatting for supported types.

These Typst documents were generated from Julia using `show` with
the `text/typst` MIME type and compiled using a [`TypstCommand`](@ref).
Each row corresponds to a method of [`show_typst`](@ref).
The Typst columns contain the [`code`](@ref), [`markup`](@ref), and [`math`](@ref) syntactical [`Mode`](@ref)s.
Each mode contains two columns, where the first is the Typst source
text and the second is how that text is rendered in a compiled document.
Sequential documents correspond to [Package Extensions](@ref).

!!! tip
    Open these images in a new tab or another viewer.

![Typstry.jl examples](../assets/Typstry_examples.svg)
![LaTeXStrings.jl examples](../assets/LaTeXStrings_examples.svg)
![Markdown.jl examples](../assets/Markdown_examples.svg)
