Zum Hauptinhalt springen

Editor

Syntax Highlighting

The editor is built on a native NSTextView with TextKit 2. Markdown syntax is highlighted in real time — headings, bold, italic, links, code blocks and lists each receive distinct formatting. Highlighting is performed via an AST walk using the swift-markdown framework.

Focus Mode

Focus mode dims everything except the current paragraph. Inactive paragraphs are faded so you can concentrate on the text you are writing. Enable it via View → Focus Mode or the toolbar.

Wide Mode

By default, text width is limited to a comfortable reading column. Wide mode uses the full window width — useful for tables or long code blocks.

Supported Markdown Syntax

ElementSyntax
Headings# H1 through ###### H6
Bold**text**
Italic*text*
Inline code`code`
Code block```language
Link[Text](URL)
Image![Alt](URL)
List- Item or 1. Item
Blockquote> Text
Table| A | B |
Horizontal rule---
Task list- [ ] Task
KaTeX formula$formula$ or $$formula$$
Mermaid diagram```mermaid