Syntax Highlighting & Live Previews

Syntax analysis for 30+ languages, split Markdown/HTML preview, and multi-cursor editing.

Enjoy native syntax highlighting across 30+ programming languages, rendered split previews for Markdown and HTML, and fast multiple cursors.

Linen split Markdown preview
Rendered Markdown and HTML preview updating concurrently with editing.

Language Grammar Support

Linen includes built-in syntax highlighters for Rust, Swift, Go, TypeScript, JavaScript, Python, C, C++, HTML, CSS, JSON, TOML, YAML, Markdown, and SQL.

Syntax recognition operates incrementally off the main thread, keeping typing completely lag-free regardless of document size.

Linen format and syntax settings
Syntax preferences covering 30+ supported programming and markup languages.

Split Markdown & HTML Preview

Press Shift-Command-P to open a live split preview. As you type Markdown prose or HTML markup, the rendered page updates instantaneously with full typographic styling, tables, task lists, and code blocks.

Linen split Markdown preview
Rendered Markdown preview alongside live editing source.

Multiple Cursors & Selection Tools

Hold Option and click to place additional cursors anywhere in your document. Press Control-Shift-Up or Down for column selections, and Command-D to select the next matching instance of a word.