> For the complete documentation index, see [llms.txt](https://docs.papers.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.papers.ai/writing-and-editing/editing-modes.md).

# Editing modes

Some file types can be edited two ways: **Code** (raw source) or **Visual** (a structured, word-processor-style view). The toggle lives in the toolbar.

## Switch modes

{% stepper %}
{% step %}

### Open a compatible file

Markdown (`.md`) or MyST (`.myst`).
{% endstep %}

{% step %}

### Toggle the mode

Use the **Code** / **Visual** toggle in the toolbar.
{% endstep %}

{% step %}

### Keep editing

Papers AI remembers your choice for that file, but only on the device you made it on.
{% endstep %}
{% endstepper %}

Markdown opens in **Visual** by default; MyST opens in **Code** by default. Board files (`.kanban`, `.timeline`) and dedicated editors (Word, notebooks, images, data files) don't have a toggle. They always open in their own view.

## Things to know

* Mode memory is per file, per device. It doesn't sync across your other devices or to collaborators.
* Renaming or moving a file resets its remembered mode.

## Troubleshooting

<details>

<summary>The toggle is missing</summary>

The file type doesn't support both modes. Check [Supported file types](/getting-started/supported-file-types.md).

</details>

<details>

<summary>A board file won't switch to Code</summary>

Expected: `.kanban` and `.timeline` only support Visual.

</details>

## Next steps

* [Working with Markdown and MyST](/writing-and-editing/working-with-markdown-and-myst.md)
* [Supported file types](/getting-started/supported-file-types.md)
* [Compiling and fixing errors](/writing-and-editing/compiling-and-fixing-errors.md)
