Parsing of table after heading (with/without blank line)

Steps to reproduce

Add a table directly below a heading:

## Heading
| | |

That table no longer renders correctly in live preview, but does render correctly in reading mode. If you add a blank line directly after the heading, it starts rendering correctly.

Expected result

A correctly-rendered table, in live preview mode.

Actual result

No table is rendered


	Obsidian version: v1.3.4
	Installer version: v1.3.4
	Operating system: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 22.5.0
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: light
	Community theme: Solarized v1.0.5-beta
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: Advanced URI v1.35.0

Additional information

I tested on the sandbox vault as well, same result.

1 Like
1 Like


Could you elaborate on why this is considered a bug when this is not?

we haven’t decided if we wanna allow a table right after a heading (the reader does it) or require a blank line in this case as well.

1 Like

Yeah I’m open to this being intended behavior. But it was a regression for me, a bunch of pages broke. :man_shrugging:

Edit: I think the reader view should match, in any case.

1 Like

Personally I really prefer having headings immediately followed by a table. Adding the extra space creates too much dead space in my opinion.

I’m fine with having the space be required otherwise, as it keeps tables separate from other data. But the header is already a natural separator, so I think the previous behavior is preferred.


Agreed. The dead space is certainly uglier.

1 Like