โœ๏ธ Writing
๐Ÿ“ Editor Basics

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

  1. Create a new file: Press โŒ˜K โ†’ type "new" โ†’ Enter
  2. Start typing: Click in the editor and begin writing
  3. Format as you go: Use keyboard shortcuts or type Markdown syntax
  4. 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

ActionShortcutDescription
BoldโŒ˜BMake text bold
ItalicโŒ˜IMake text italic
CodeโŒ˜EFormat as inline code
LinkโŒ˜KCreate a link
SaveโŒ˜SSave current file
FindโŒ˜FSearch 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