Features

Text Formatting

3 min read
Text Formatting

Text Formatting

Make your text bold, italic, linked, or code-styled.

Format text inline without leaving the keyboard. Select text to see formatting options, or use keyboard shortcuts.


What You Can Do

  • Bold - Strong emphasis
  • Italic - Light emphasis
  • Inline code - Monospace for code snippets
  • Strikethrough - Cross out text
  • Links - Clickable URLs with custom text

Keyboard Shortcuts

Format Shortcut Markdown
Bold Cmd+B **text**
Italic Cmd+I *text*
Link Cmd+K [text](../url)

How It Works

Bold and Italic

  1. Select text
  2. Press Cmd+B (bold) or Cmd+I (italic)
  3. Text formats immediately

Or use the bubble menu that appears when you select text.

Inline Code

For code within a sentence (like variable or function()):

  1. Type backticks around the text: `code`
  2. Or select text and click the code button in the bubble menu

Strikethrough

To strike through text:

  1. Type ~~text~~ in markdown
  2. Or use the formatting menu

Create a link:

  1. Select the text you want to link
  2. Press Cmd+K
  3. Enter the URL
  4. Press Enter

Link to a file in your workspace (v1.7.2):

  • Type @ anywhere in the editor to open a file search picker at your cursor
  • Start typing a filename, use the arrow keys, and press Enter to insert a Markdown link with the correct relative path
  • The Cmd+K Add Link dialog also accepts @ in the URL field for the same file picker
  • Press Escape to dismiss without inserting

Link validation:

  • URLs must start with http:// or https://
  • If you forget, RiteMark adds https:// automatically

Open a link:

  • Cmd+Click (Ctrl+Click on Windows and Linux) on any link to follow it
  • External URLs open in your system browser
  • As of v1.7.2, internal links open too: .md/.mdx files open as Ritemark documents in a new tab, while PDFs, images, CSVs, and source files open via VS Code's default opener

Edit a link:

  1. Click on the linked text
  2. Press Cmd+K
  3. Edit or remove the URL

Bubble Menu

When you select text, a floating toolbar appears with:

Button Action
B Bold
I Italic
H1 Heading 1
H2 Heading 2
H3 Heading 3
Quote Blockquote
Link Add/edit link
Table Insert table

The menu follows your selection. Click outside or press Escape to close it.


Tips

  • Toggle formatting - Press the same shortcut again to remove formatting
  • Multiple formats - Text can be both bold AND italic
  • Links in lists - Links work inside list items and tables too
  • Copy formatted - Copy-paste preserves formatting within RiteMark

Text Formatting