# Format symbol autopairing shouldn't happen in code blocks

**URL:** <https://forum.obsidian.md/t/format-symbol-autopairing-shouldnt-happen-in-code-blocks/32301>\
**Category:** Bug graveyard\
**Created:** [February 11, 2022, 7:14pm UTC](https://forum.obsidian.md/t/format-symbol-autopairing-shouldnt-happen-in-code-blocks/32301 "2022-02-11T19:14:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 11, 2022, 7:26pm UTC](https://forum.obsidian.md/t/format-symbol-autopairing-shouldnt-happen-in-code-blocks/32301/2 "2022-02-11T19:26:26Z")

</div>

> [@Make Obsidian's behavior on codeblocks dependent on their type](https://forum.obsidian.md/t/make-obsidians-behavior-on-codeblocks-dependant-on-their-type/21729):
>
> Currently Obsidian treats all codeblocks in the same way. This has some quirky side effects. It would be better to distinguish between code-containing codeblocks and text-containing codeblocks (ala admonition). In text codeblocks, markdown auto-pairing should be enabled, suggestions should be enabled (tags, links), and linked and unlinked mention should be picked up. In code codeblocks, markdown autopairing should be disabled, markdown suggestions should be disabled (tags, links), and linked …

---

_[View the full topic](https://forum.obsidian.md/t/format-symbol-autopairing-shouldnt-happen-in-code-blocks/32301)._
