> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/ZhFahim/anchor/llms.txt
> Use this file to discover all available pages before exploring further.

# Rich Text Editor

> Format your notes with powerful text editing capabilities

Anchor's rich text editor provides intuitive formatting tools to structure and style your notes. Whether you're writing quick thoughts or detailed documentation, the editor gives you the flexibility you need.

## Text Formatting

Apply basic formatting to emphasize and organize your content:

<CardGroup cols={3}>
  <Card title="Bold" icon="bold">
    Make text **bold** to emphasize important points
  </Card>

  <Card title="Italic" icon="italic">
    Use *italic* text for subtle emphasis or citations
  </Card>

  <Card title="Underline" icon="underline">
    Underline text to highlight key terms
  </Card>
</CardGroup>

### How to Apply Formatting

<Steps>
  <Step title="Select text">
    Highlight the text you want to format
  </Step>

  <Step title="Choose format">
    Click the formatting button in the toolbar or use keyboard shortcuts
  </Step>

  <Step title="Continue typing">
    The formatting applies to your selection and remains active for new text until you toggle it off
  </Step>
</Steps>

<Tip>
  You can combine multiple formats - for example, text can be both bold and italic at the same time.
</Tip>

## Headings

Structure your notes with hierarchical headings:

### Using Headings

Headings help organize long notes into scannable sections:

* **Heading 1** - Use for main titles and primary sections
* **Heading 2** - Use for major subsections
* **Heading 3** - Use for detailed breakdowns within subsections

Headings are styled with different sizes and weights, making it easy to see the structure of your notes at a glance.

<Info>
  Choose the appropriate heading level based on your content hierarchy. Start with Heading 1 for top-level sections and increase the number for nested sections.
</Info>

## Lists

Organize information with bullet points and numbered lists:

### Bulleted Lists

Create unordered lists for:

* Ideas and brainstorming
* Features or requirements
* Items without a specific sequence
* Quick note collections

### Numbered Lists

Create ordered lists for:

1. Step-by-step instructions
2. Prioritized items
3. Sequential processes
4. Ranked information

### Creating Lists

<Steps>
  <Step title="Position cursor">
    Place your cursor where you want the list to begin
  </Step>

  <Step title="Select list type">
    Click the bullet list or numbered list button in the toolbar
  </Step>

  <Step title="Add items">
    Press Enter after each item to create the next list entry
  </Step>

  <Step title="Exit list">
    Press Enter twice on an empty list item to finish the list
  </Step>
</Steps>

<Tip>
  You can nest lists by increasing indent levels, creating sub-items under main points.
</Tip>

## Checkboxes

Track tasks and to-dos directly in your notes:

### Task Management

Checkboxes are perfect for:

* ☐ To-do lists and action items
* ☐ Project milestones
* ☐ Shopping lists
* ☐ Meeting action items
* ☑ Completed tasks (checked)

### Working with Checkboxes

<Steps>
  <Step title="Add checkbox">
    Click the checkbox button in the toolbar to insert a checkbox list item
  </Step>

  <Step title="Type your task">
    Enter the task description next to the checkbox
  </Step>

  <Step title="Check off items">
    Click the checkbox to mark items as complete
  </Step>

  <Step title="Add more items">
    Press Enter to create additional checkbox items
  </Step>
</Steps>

<Info>
  Checked items remain in your note, giving you a record of completed tasks. You can uncheck items at any time to mark them as incomplete again.
</Info>

## Editor Features

The rich text editor includes several helpful features:

<CardGroup cols={2}>
  <Card title="Auto-save" icon="floppy-disk">
    Your changes save automatically as you type - no need to manually save
  </Card>

  <Card title="Offline Editing" icon="wifi-slash">
    Format and edit notes without an internet connection
  </Card>

  <Card title="Toolbar Access" icon="bars">
    Quick access to all formatting options via the editor toolbar
  </Card>

  <Card title="Clean Interface" icon="minimize">
    Distraction-free writing experience with formatting tools when you need them
  </Card>
</CardGroup>

## Formatting Tips

Get the most from the rich text editor:

### Structure Your Content

* Use headings to create clear sections
* Break up long paragraphs for readability
* Use lists for items that belong together
* Add checkboxes for actionable items

### Visual Hierarchy

* Bold important terms and key takeaways
* Use italic for quotes, book titles, or emphasis
* Combine headings with lists for clear documentation
* Keep formatting consistent throughout your note

### Efficiency

* Learn keyboard shortcuts for frequently used formats
* Use the toolbar when you're unsure of shortcuts
* Format as you write rather than going back later
* Copy formatted text between notes to maintain consistency

<Tip>
  The editor preserves formatting when you copy and paste content between notes or from external sources.
</Tip>

## Keyboard Shortcuts

Speed up your formatting with keyboard shortcuts:

| Action    | Shortcut       |
| --------- | -------------- |
| Bold      | `Ctrl/Cmd + B` |
| Italic    | `Ctrl/Cmd + I` |
| Underline | `Ctrl/Cmd + U` |

<Info>
  Keyboard shortcuts may vary by device and operating system. Check your device's specific shortcuts in the editor help menu.
</Info>

## Content Preservation

Your formatted content is preserved across:

* **Devices** - Formatting syncs across web and mobile apps
* **Sessions** - Content persists even when offline
* **Sharing** - Recipients see your formatting intact
* **Sync conflicts** - Format preservation during conflict resolution

<Warning>
  While the editor supports rich text formatting, avoid overly complex formatting that might not translate well to all platforms or export formats.
</Warning>

## Working Across Platforms

The rich text editor works consistently on:

* **Web application** - Full toolbar and keyboard shortcut support
* **Mobile apps** - Touch-optimized formatting controls
* **Offline mode** - Complete formatting capabilities without connectivity

All formatting features are available regardless of which platform you're using, ensuring a consistent experience across your devices.
