Disabling "Auto pair" options still inserts closing brackets

I’m trying to add this line to the middle of an already-existing code block, delimited with triple-backticks:

if [[ ${#FILES[@]} > 0 ]]

When I type the [[, it tries to “help” by popping up a drop list of other pages in the vault. I can hit ESC to dismiss this, but every keystroke after this pops up a new list of possible completions. If I don’t hit ESC after every single keystroke, it will perform whatever substitution it thinks I want. For example, if I type the # without hitting ESC first, the line becomes:

if [[#]]

Steps to reproduce

  • Create a fenced code block, with both opening and closing lines of three backticks
  • Between them, start typing the line shown above

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

I did, and even after turning off the “Auto pair Brackets” and “Auto pair Markdown Syntax” options in that vault, the problem still happens.

Expected result

No attempts to “help”, since I’m typing inside of a fenced code block where Markdown syntax would be rendered “raw” anyway.

No automatic “]]” added, because the “Auto pair Markdown Syntax” option is turned off.

Actual result

if [[#]]


Obsidian version: v1.4.16
Installer version: v1.4.14
Operating system: Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64 23.1.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information