Disable all forms of markdown typing assistance in codeblocks

Use case or problem

Currently, most of the typing assistance that Obsidian provides do no make sense or actively get in the way when writing within a codeblock. For example, auto-pairing of markdown symbols (like bold), link suggestion [[, tag suggestion #. Also unlinked mention should not be picked up (here).

Proposed solution

All these typing assistance tools should be deactivated while typing within a codeblock.


This FR is a simplified version of this other FR that asks for type-dependent behavior.


Agree with this completely!

Steps to reproduce

  • Create a new codeblock
  • Write [[ in it and see link suggestions.

In lua multi-line comment syntax is

--[[ Multi-line
comment --]]

Typing that triggers link suggestions.