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.

18 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_.

5 Likes

I would be completely fine with that.

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

3 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.

2 Likes

I hadn’t even considered this before but since it was brought up in this thread I started doing the same and really like this approach as well.

+1 on this. I definitely prefer underscores for italics and asterisks for bold.

+1 as well. Would be a good feature.

1 Like

+1 as well

+1 on support for selecting underscore or asterix syntax for cmd+I and Cmd+B individually

1 Like

Yes, please… Only a monster would denote italics with asterisks!

Hello friends!

Take a lot at theses plugins:

Obsidian Tweaks

Obsidian MultiLine Formatting

I always thought only a monster would designate underscore for anything other than underline!

Do people still underline? I thought those had been banned to avoid confusion with hyperlinks. :grinning: