If there are interline formulas ($$...$$), the outline will not be fully displayed

Steps to reproduce

The exact trigger conditions for the “incomplete outline display” bug have not yet been fully identified. Currently, this issue occurs after inserting a large number of display math equations. It is suspected that the problem may be related to the placement of the $$ delimiters and line breaks.
For instance, directly wrapping content with a consecutive $$$$ pair (with no line breaks in between) versus using $$ to start the equation, adding a line break after the content, and then closing with $$ can result in completely different behaviors.
While the root cause of this bug remains unclear, a straightforward workaround is available: simply adopt the second formatting approach (i.e., $$ + content + line break + $$). Replace the inline math equations within the problematic outline sections with this display math format, and the corresponding outline headings will then display correctly as expected.

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

Y

Expected result

Actual result

Environment

windows11


Additional information

The same issue has also been reported on the Obsidian Chinese Forum. You can search for the topic titled: “部分标题在大纲中不显示”

For block math we only support:

text
$$math$$
text

text
$$
math
$$
text