Files and editors
Every file type Cortex opens, editing Markdown, and what happens when an agent changes your file.
A context is a folder of files you work on while an agent edits the same files. Cortex therefore has two jobs for files: show every common type well, and let you edit text without ever losing your work to an agent, or an agent's work to you.
These articles say which files open how, how the Markdown editor behaves, and what Cortex does when a file you are editing changes on disk.
- What Cortex opens and editsEvery file type, how it is shown, and which can be edited.
- Edit MarkdownWYSIWYG and Source, ⌘⇧M, tables, task lists, Mermaid, maths and images; untouched lines never reformatted.
- Read PDF, Word, Excel and PowerPointPages, sheets and slides on screen, and the ✎ button that opens the app that owns the file.
- Code, HTML, JSON and textSyntax-coloured editing, rendered or source HTML, plain text and logs, and Open in….
- When an agent changes a file you are editingReload, Keep mine or Diff; deleted files; nothing merged and nothing lost.