Auto Pair is active in a code fence block

Steps to reproduce

Type any of the auto pair symbols in a code fence block and will auto pair them. The problematic ones are asterisks and underscores.

Expected result

Auto Pair is disabled inside the fence

_*

Actual result

Auto Pair enabled in the fence

_**_

Environment

  • Operating system: MacOS
  • Obsidian version: v0.10.11

Additional information

Open a feature request for this.