# Typst Editor

Create a blank Typst project in an editor-first layout, then compile and export it locally.

Typst Editor starts with the source and gives it the screen. It is a clean entry point for experienced Typst writers, small laptop displays, or any document where you would rather open the preview only when you need it.

## Start in source mode

1. Turn on **Settings → Experimentation → LaTeX tools**.
2. Open **Typst Editor**, or run `/typst-editor`.
3. Oleafly creates **Untitled Typst document** and opens the editor-only layout.
4. Rename the project and write in the `.typ` file.
5. Switch to Split or Preview from the project toolbar when you want to see the PDF.

Try this first page:

```typst
#set page(margin: 1in)

= Experiment notes

Today we tested *three* conditions.
```

The bundled Typst engine compiles locally. The source remains an ordinary project file, and PDF export is available from the project toolbar.

## Choose the other starter when

[Visual Typst Editor](/docs/tools/visual-typst-editor/) creates the same project type but opens in a split source-and-preview layout. Use that route when you are learning syntax or making visual decisions line by line.

Typst projects do not use LaTeX packages or `tlmgr`, and LaTeX commands are not accepted as Typst syntax. If your content already exists in another format, start with [Markdown to Typst](/docs/tools/markdown-to-typst/), [LaTeX to Typst](/docs/tools/latex-to-typst/), or [PDF to Typst](/docs/tools/pdf-to-typst/).

Current Typst projects do not support SyncTeX-style source-to-PDF navigation. See [Writing in Typst](/docs/writing/typst/) for editing, formatting, and export details.
