No horizontal scrolling of code blocks in live preview

Steps to reproduce

  1. In Live Preview mode, with default Obsidian theme, create a code block with long lines.

Expected result

  1. Like Reading mode, code block the width of the view with a horizontal scrollbar.

Actual result

  1. The lines wrap around in Live Preview mode.


  • Operating system: MacOS 11.6.2
  • Obsidian version: 0.13.12

Additional information


in 0.13.5 both LP and reading will wrap codeblocks.

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