Inline Code (backtick) not Auto-Pairing

Steps to reproduce

With the Settings/Editor/Behavior/Auto-pair Markdown syntax enabled, starting inline code in a document does not automatically add the ending backtick character similar to ‘*’ emphasis or how double or single quotes work with the Auto-Pair Brackets setting enabled.

Did you follow the troubleshooting guide? [Y/N] Yes

Expected result

After entering a backtick `, I expect a closing backtick to be inserted after the cursor similar to other paired markdown.

Actual result

The ending backtick is not entered and the entire paragraph becomes inline-code formatted text which is quite distracting.

Environment

SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.10.6
Operating system: Windows 11 Pro 10.0.26200
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: light
Community theme: none
Snippets enabled: 1
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


This appears to be working now for whatever reason after restarting Obsidian. It does appear to require whitespace on either side of the starting backtick. Also if you have two backticks together (with nothing between them) like you do when you first start with the option enable, it will format the entire rest of the paragraph as inline code. I’m not sure if this is a bug or something markdown specific, but I do not see this behavior in Typora or Visual Studio Code. Obsidian seems to see the first backtick and it treats the rest of the paragraph as inline code even if there is no ending backtick which is pretty annoying.

Yes you need a space,

Search/open a sperate bug report for this one.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.