Add option to use underscores with bold & italic hotkeys

Use case or problem

Markdown supports two syntaxes for bold/italic but Obsidian only natively supports one via the Cmd+B / Cmd+I hotkeys.

Obsidian only uses asterisk-based notation when using the hotkeys: *This is italic*, **This is bold**, ***This is bold italic***.

Markdown also supports underscore syntax: _This is italic_, __This is bold__, ___This is bold italic___.

For some users (myself included) the underscore variant is easier to read in edit mode because there is less clutter during reading and it makes the marked text more visually distinct.

Proposed solution

Add option in Settings > Editor to choose between asterisk and underscore syntax. Once selected, the bold/italic hotkeys honor this preference.

Current workaround (optional)

I have to manually use underscores since the hotkey doesn’t support this option.

6 Likes

It would be great if they could be set individually.

I choose as a personal preference for ease of readability to use double asterisks for **bold** and single underscores for _italics_.

1 Like

I would be completely fine with that.

Also it turns out at least one other request was previously submitted for this feature:

2 Likes

Hello,

Giving this a +1. I’d love to be able to set whether Cmd+I/Cmd+B inserts underscores or asterisks.

Thanks :pray:

I use underscores for my italics and asterisks for bolding and it would be great if there was a user option to select which syntax Obsidian is to enter when I activate cmd+I and cmd+b.