Editor Basics
Learn the fundamentals of writing in Lokus with our powerful, intuitive editor.
Getting Started with the Editor
Lokus features a modern rich-text editor powered by TipTap that seamlessly blends visual editing with Markdown support.
Writing Your First Note
- Create a new file: Press
โK
โ type "new" โ Enter - Start typing: Click in the editor and begin writing
- Format as you go: Use keyboard shortcuts or type Markdown syntax
- Save your work: Press
โS
to save
Basic Formatting
Headings
Create structure with headings using #
symbols:
# Main Title (H1)
## Section Title (H2)
### Subsection (H3)
#### Minor Heading (H4)
Text Emphasis
Make your text stand out:
- Bold:
**bold text**
orโB
- Italic:
*italic text*
orโI
Strikethrough:~~strikethrough text~~
Code
:`inline code`
orโE
Lists
Organize information with lists:
Bullet Lists:
- First item
- Second item
- Nested item
- Another nested item
Numbered Lists:
1. First step
2. Second step
1. Sub-step
2. Another sub-step
Task Lists:
- [x] Completed task
- [ ] Pending task
- [ ] Another task
Live Features
Auto-Paste Processing
When you paste content from other sources, Lokus automatically:
- Converts HTML to clean Markdown
- Preserves formatting where appropriate
- Removes unnecessary styling
- Maintains document structure
Smart Typography
Lokus automatically improves your text with:
- Smart quotes: "quotes" and 'apostrophes'
- Em dashes: -- becomes โ
- Ellipses: ... becomes โฆ
Real-time Preview
See your formatting instantly as you type - no need to switch between edit and preview modes.
Quick Actions
Essential Shortcuts
Action | Shortcut | Description |
---|---|---|
Bold | โB | Make text bold |
Italic | โI | Make text italic |
Code | โE | Format as inline code |
Link | โK | Create a link |
Save | โS | Save current file |
Find | โF | Search in document |
Context Menu
Right-click in the editor for quick access to:
- Cut, Copy, Paste operations
- Text formatting options
- Insert elements (tables, code blocks, links)
- Document actions (export, find & replace)
Performance Tips
- Large Documents: Lokus handles documents efficiently, but for best performance keep individual files under 1MB
- Auto-Save: Changes are automatically saved as you type (with manual save confirmation)
- Memory Management: The editor automatically optimizes memory usage for long documents
Getting Help
Going Further: Ready for more advanced formatting? See Advanced Formatting
Complete Reference: For full editor capabilities, check the Editor API Reference