Click Scratchpad in the file list to start editing,
or Select Directory to work with files.

Your browser doesn't support the File System API.
Use Scratchpad to edit markdown and download as a file.

## Help — ZDDC Markdown

### What is ZDDC Markdown?

ZDDC Markdown is a browser-based Markdown editor that reads and writes files directly on your local file system. Everything runs locally — no data is sent to any server.

### Getting Started

1. Click Select Directory to open a folder. The file tree on the left will populate with all files in that folder.
2. Click any Markdown file (`.md`) in the tree to open it in the editor.
3. Use the Scratchpad entry (always visible at the top of the tree) for temporary notes without saving to disk.

### Editor Modes

WYSIWYG
  A rich-text view where formatting is rendered live. Good for composing content.
Markdown
  A plain-text view showing raw Markdown syntax. Good for precise control.

Switch between modes using the toolbar buttons at the top-right of the editor.

### Saving Files

Auto-save indicator
  A bullet (•) next to the filename in the tree indicates unsaved changes.
Save (Ctrl+S)
  Saves the currently active file.
Save All
  Saves all files that have unsaved changes in one operation.

### Table of Contents

When a Markdown file is open, a table of contents is generated from its headings and shown on the right side. Use the depth selector to control how many heading levels appear.

### Browser Compatibility

File system access requires a Chromium-based browser (Chrome, Edge, Brave). In Firefox and other browsers, the Scratchpad is available for editing, and files can be saved via download.

### Keyboard Shortcuts

`Ctrl+S`
  Save the current file.
`Escape`
  Close this help panel.

### New file name