Skip to content

[Bug] Section embed fails with an infobox #40

@RudgeyUnwritten

Description

@RudgeyUnwritten

First of all, this plugin is exactly what I wanted. Amazing. Glorious. Thank you.

When using the ![[Note#Header]] sync feature when the target note includes an infobox, the start of the next section of equal level is rendered, though still not editable.

Specifics of the Note

The note contains an infobox with a custom css class, a table, and some images (see below). Whenever I remove the whole infobox, it works correctly, but otherwise I can see the next header and the first couple bullet points beneath it (but not the whole section). Removing the custom css class from the infobox does not fix the issue either :(

I am on Windows if that helps.

Markdown

# Target Header

Lorem ipsum

>[!infobox|custom-class]
>| | | |
>| -- | -- | -- |
>| ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* | ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* | ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* |
>| ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* | ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* | ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* |
>| ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* | ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* | ![[image.png]]<br>**First Line**<br>Second Line<br>*Third Line* |

Lorem ipsum

# Non-Target Header
- Lorem ipsum
- Lorem ipsum
- ...
- ...
- ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions