Auto-capitalize is enabled in code blocks

Steps to reproduce

  • Create a code block with three backticks
  • Start typing

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

Y

Expected result

I expect code blocks to display what I type without any form of autocorrection or automatic capitalization. Code tends to be case-sensitive, and automatic capitalization interferes more than it helps.

Actual result

The first letter of every line is automatically capitalized. This makes it annoyingly difficult to write valid code.

Environment

SYSTEM INFO:
Operating system: ios 17.1.1 (Apple iPad)
Obsidian version: 1.4.16 (114)
API version: v1.4.16
Login status: not logged in
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

it’s the apple keyboard that autocatalyzes. Not sure if we have control over it, but you can open a FR for this.

As an app developer, you absolutely do have control over the keyboard behavior.

Ok, open a FR for this. Thanks!

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