Markdown Code Block Formatting Issue

Description:

  • When trying to create nested code blocks in markdown
  • The formatting breaks and becomes inconsistent
  • Code blocks are not properly closed/nested

Steps to Reproduce:

  1. Create a markdown file
  2. Add nested code blocks
  3. See formatting issues

Expected Behavior:

  • Nested code blocks should maintain proper formatting
  • Markdown syntax highlighting should work correctly

Actual Behavior:

  • Code blocks break
  • Formatting becomes inconsistent
  • Syntax highlighting fails

2 Likes

This also happens quite frequently. I have to copy and paste each segment separately.

Have the same issue, extremely disappointing one,

Yeah the markdown formatting can be a bit tricky right now, especially with nested code blocks. We’re working on improving this in an upcoming update that should make it much smoother. For now you might want to break up complex nested blocks into separate snippets