[Guide](https://komalang.org/guide/) · 1 of 8

# Why Koma

Write slides with the ease of Markdown and the control of a layout tool. The source stays readable, whether you edit it yourself, work with an AI assistant, or review a change in Git.

## Write naturally, lay out precisely

Write the words in Markdown and the math in LaTeX. Use readable tags to say what belongs where: `[title: …]` gives a page its title, and `[col: …]` puts content in a column. Let the theme handle the layout, or place a box exactly where you need it. You can use columns, figures, tables and diagrams without giving up a text-first way of writing.

See [Elements and text](https://komalang.org/guide/elements/) or [Columns and boxes](https://komalang.org/guide/layout/) for examples.

## One source for people and tools

A `.koma` file is plain text, so you and an AI assistant can work on the same source. For example, ask the assistant to turn notes into a draft document or revise one page without rebuilding the rest. Scripts can read the [syntax tree](https://komalang.org/spec/semantics/#unist) as JSON through the CLI, or use the library in their own code.

Use `koma check` to check edits without changing the file, then `koma export` to produce PDF, PowerPoint or HTML. See the [CLI reference](https://komalang.org/command/) and the [diagnostics](https://komalang.org/spec/semantics/#diagnostics).

## Review changes with Git

When someone changes a title, revises a paragraph, or moves a box, Git can show the changed text or coordinates. You can review and discuss those changes in a pull request without comparing two exported documents.

`koma format` gives contributors a common way to write the source. Images and data can live alongside it as separate files, and their changes are tracked separately.

## Further reading

- [The standard form](https://komalang.org/spec/conformance/#standard-form)
- [Rewriting only what changed](https://komalang.org/spec/conformance/#minimal-rewrite)

- [Diagnostics](https://komalang.org/spec/semantics/#diagnostics)
- [The syntax tree and unist](https://komalang.org/spec/semantics/#unist)
