# Using the Editor

While Marked Share plays nicely with external Markdown editors via Marked and our API, it also features a built-in web editor designed for focused writing and fast edits.

## The Web Editor

The editor is powered by CodeMirror, offering syntax highlighting and a distraction-free environment with standard keyboard shortcuts:

- `⌘B` / `Ctrl-B`: **Bold**
- `⌘I` / `Ctrl-I`: *Italic*
- `⌘E` / `Ctrl-E`: `Inline code`
- `⌘K` / `Ctrl-K`: Insert link
- `Tab` / `Shift-Tab`: Indent / Outdent list items and code blocks

As you type, changes are autosaved in real time with continuous feedback in the status bar.

## Managing Images

You don't need external image hosting to write rich documents. In the editor, click the **Image** icon to:

- Link to an external image URL with alt text.
- **Upload local image files** (PNG, JPEG, GIF, and WebP up to 5 MB each).

When you upload an image, Marked Share stores it securely with your document and inserts a scoped path (`/d/:id/i/...`) that automatically inherits the document's visibility permissions.

## Version History and Conflict Protection

Every time you save substantial changes, Marked Share records a snapshot in the document's **Version History**. You can view past versions, see which device made each edit, and inspect visual diffs to track changes over time.

Marked Share also protects you against accidental overwrites. If you leave a tab open and edit the same document on your Mac in Marked or from another browser, the editor detects the newer revision and warns you: *Updated elsewhere — refresh to continue*. Your changes won't silently clobber someone else's work.

## Remix and Duplicate

If enabled in your document settings, signed-in readers can click **Duplicate to my account**. This creates an independent clone in their own library—complete with all attached images—allowing them to remix, iterate, and build upon your shared drafts.
