Source Mode rendering glitch when a callout is the last element in a note

Steps to reproduce

  1. Create or open a note where a Markdown table is the very last element (no blank lines after the table).

  2. View the note in Reading view or Live Preview — everything renders correctly.

  3. Switch to Source mode.

  4. The bottom portion of the note breaks: text is rendered as a vertical single-character column on the right side of the editor.

Did you follow the troubleshooting guide? Y

Expected result

Switching to Source mode should render the note correctly regardless of whether a table is the last element in the file.

Actual result

When switching to Source mode, the text near the bottom of the note becomes vertically stacked — each character appears

on its own line in a narrow column on the right side of the editor, making the content completely unreadable. See the attached screenshots.

Workaround that confirms the cause: If I switch back to Reading view, add a blank line after the table, then close and reopen the note, Source mode renders correctly again. However, simply adding the blank line and switching to Source mode within the same session does not fix it — the note must be closed and reopened.

Environment

  • OS: Windows

  • Community plugins: None (I don’t use any community plugins)

  • Duration: I have been experiencing this bug for approximately one year across multiple Obsidian updates.

Additional information

The bug is 100% reproducible on any note where a Markdown table is the final element. The issue is purely visual — the underlying file content is not corrupted. I am attaching two screenshots:

I can’t reproduce. You didn’t provide the output of show debug info.
Also there is not table any of your screenshots.

Hi, sorry for the confusion. I mistakenly used the word ‘table’. I actually meant ‘Callouts’ (like > [!warning] or > [!tip]). The visual glitch happens when a Callout is the very last element in the note.

Here is the output of my debug info:

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.8.10
Operating system: Windows 11 Home 10.0.26200
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

On mobile at the moment so can’t throughly test, but I can repro. No new lines after the callout.

> [!note]
> The Duke and Duchess of Sussex have arrived in Australia for a four-day tour which will see them combine visits to


I changed table to callout in the topic title.


UPDATE: Had a look on Windows. Seems it still happens even with a newline or text after the callout.

source mode | live preview

Obsidian_pVsdmugJww

2 Likes

Yes, that’s true. However, since you’ve now added something at the end, the issue should disappear when you close and reopen the note.

1 Like

Thanks for the reminder. I initially read that yesterday when I tested on mobile, but didn’t try that when I quickly checked on Windows earlier.

1 Like