Prerequisites
All you need is a modern web browser. Opal Editor runs entirely in your browser with no server required:- Chrome, Edge, Firefox, or Safari
- No installation needed
- No account required
- 100% local-first and private
Create Your First Workspace
Visit Opal Editor
Go to opaledx.com in your browser.
Configure your workspace
Choose your workspace settings:
- Name: Give your workspace a descriptive name (e.g., “My Blog”, “Documentation”)
- Template: Select from:
- Hello World - Includes sample content and examples
- Blank - Empty workspace for starting fresh
- Basic - Simple starter template
- File System: Choose your storage option:
- OPFS (Origin Private File System) - Browser-managed storage, works everywhere
- Native File System - Mount a local directory (Chrome/Edge only)
The first workspace creation may take a few seconds as Opal Editor initializes its service workers and storage systems.
Write Your First Document
Once your workspace is created, you’ll see the Opal Editor interface:Interface Overview
- Sidebar (left): File tree showing all your markdown files and folders
- Editor (center): Rich text editor for writing content
- Button bar (top): Editor controls and tools
- Search (
Cmd/Ctrl + K): Quick file navigation and workspace search
Create a New File
- Click the + button in the sidebar or press
Cmd/Ctrl + Shift + N - Enter a filename (e.g.,
my-first-post.md) - Start writing in the rich text editor
Rich Text Editing
Opal Editor provides a WYSIWYG markdown editor powered by MDX-Editor:- Bold:
Cmd/Ctrl + B - Italic:
Cmd/Ctrl + I - Headings: Type
#followed by space - Lists: Type
-or1.followed by space - Links:
Cmd/Ctrl + K - Code blocks: Type
```and select language
Toggle to Source Mode
PressCmd/Ctrl + ; to switch between rich text and raw markdown editing. In source mode, you get:
- Full CodeMirror editor with syntax highlighting
- Vim keybindings (optional)
- Direct markdown control
- Line numbers and code folding
Supported File Types
Opal Editor supports editing multiple file types:.md/.mdx- Markdown documents.html- HTML files.css- Stylesheets.js/.ts- JavaScript/TypeScript.json- JSON data.yaml/.yml- YAML configuration.ejs- EJS templates- And more…
Preview Your Content
Open Live Preview
Click the Live Preview button in the top-right corner or press
Cmd/Ctrl + Shift + P.View your rendered content
The preview pane shows your markdown rendered as HTML with:
- GitHub-flavored markdown rendering
- Syntax-highlighted code blocks
- Rendered images
- Live updates as you type
Upload Images
Add images to your workspace in two ways:Drag and Drop
- Drag an image file from your computer
- Drop it onto the editor or sidebar
- Opal Editor will:
- Store the image in your workspace
- Automatically convert to WebP for smaller file size
- Insert markdown reference:

Upload via Sidebar
- Click the Upload button in the sidebar
- Select image files
- Images are optimized and added to your workspace
Opal Editor automatically converts images to WebP format for optimal file size while maintaining quality.
Keyboard Shortcuts
Common shortcuts to speed up your workflow:| Action | Shortcut |
|---|---|
| New workspace | Cmd/Ctrl + N |
| New file | Cmd/Ctrl + Shift + N |
| Quick search | Cmd/Ctrl + K |
| Save file | Cmd/Ctrl + S |
| Toggle source mode | Cmd/Ctrl + ; |
| Live preview | Cmd/Ctrl + Shift + P |
| Bold text | Cmd/Ctrl + B |
| Italic text | Cmd/Ctrl + I |
| Insert link | Cmd/Ctrl + K |
Next Steps
Now that you’ve created your first workspace and written some content, explore more features:Publish Your Site
Deploy to Netlify, Vercel, Cloudflare Pages, GitHub Pages, or S3
Git Integration
Commit changes, create branches, and push to GitHub
Templates
Use template engines to build static sites
Advanced Features
Learn about storage, service workers, and optimization
Troubleshooting
Workspace won’t create
- Check browser compatibility: Use Chrome, Edge, Firefox, or Safari
- Clear browser cache: Sometimes helps with service worker issues
- Try a different storage option: Switch between OPFS and Native File System
Files not saving
- Check storage quota: Browser may have limited available space
- Service worker issues: Refresh the page to reload service workers
- Network errors: Ensure you’re not blocking service workers in browser settings
Preview not updating
- Refresh preview: Click refresh button in preview pane
- Check file syntax: Invalid markdown may prevent rendering
- Service worker cache: Hard refresh with
Cmd/Ctrl + Shift + R