Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colon in Admonitions title causes title to be moved to body #23

Closed
SilasBerger opened this issue Jan 9, 2024 · 1 comment · Fixed by #28
Closed

Colon in Admonitions title causes title to be moved to body #23

SilasBerger opened this issue Jan 9, 2024 · 1 comment · Fixed by #28
Labels
bug Something isn't working

Comments

@SilasBerger
Copy link
Owner

Works fine:

:::info Wozu wurde der dieser Computer entwickelt?
Der Micro:bit wurde von der BBC (_British Broadcasting Corporation_) entwickelt, damit Menschen von jung bis alt die
Grundlagen der Informatik auf spannende, kreative Weise entdecken können.
:::

Title is broken down into the body as a first line:

:::info Wozu wurde der Micro:bit entwickelt?
Der Micro:bit wurde von der BBC (_British Broadcasting Corporation_) entwickelt, damit Menschen von jung bis alt die
Grundlagen der Informatik auf spannende, kreative Weise entdecken können.
:::

The most obvious root cause is that the : in Micro:bit changes the AST enough for the current assumptions not to hold true anymore.

@SilasBerger SilasBerger added bug Something isn't working v1 labels Jan 9, 2024
@lebalz
Copy link
Contributor

lebalz commented Jan 9, 2024

Checkout https://docusaurus.io/blog/preparing-your-site-for-docusaurus-v3#unintended-usage-of-directives
--> it's a directive's issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants