Skip to content

Bug: Nested Asides #1699

@Faf4a

Description

@Faf4a

What version of starlight are you using?

0.21.2

What version of astro are you using?

4.5.12

What package manager are you using?

npm

What operating system are you using?

Windows

What browser are you using?

Chrome, Firefox

Describe the Bug

Nested asides start breaking, they either switch up their content, or just void the title/content completely.

Bugged Behaviour:

Current (bugged) behaviour
Current (bugged) behaviour
Mixed up the title of the first aside, voided the rest

Intended Behaviour:

Intended behaviour
Intended behaviour
Everything in correct order

Code Snippet:

:::::note["This should be the title of the first aside!"]

This is the content of the first note.

::::tip["This should be the title of the second aside!"]

This should be the content of the second note.

:::danger["This should be the title of the third aside!"]

This should be the content of the third note.

:::

::::

:::::

Link to Minimal Reproducible Example

https://stackblitz.com/edit/starlight-asides

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions