-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
list in directive parsed as spread: true
unexpectedly with indents
#13
Comments
spread: true
unexpectedlyspread: true
unexpectedly with indents
I recommend making your repro smaller: remove everything that isn‘t needed. There are nodes that do not do anything. There’s a directive that doesn’t work because there is a space between |
Smallest repro that I can make for now: :::tip
* alpha
bravo
::: |
Only the first one has :::tip
- list 1
- list 2
![img](foo)
:::
:::tip
- list 1
- list 2
:::
:::tip
- list 1
- list 2
![img](foo)
:::
That was intended to show the difference. |
This comment has been minimized.
This comment has been minimized.
Thanks! Solved the external problem. |
Initial checklist
Affected package
mdast-util-directive
Steps to reproduce
https://astexplorer.net/#/gist/cfda1b4fd45ed9456930ed22b96f4eb4/5571d1f816f9ac0767d2583786fae298877e06c7
Actual behavior
The first
list
incontainerDirective
hasspread: true
, the secondlist
not incontainerDirective
hasspread: false
.Expected behavior
Both should have
spread: false
Runtime
v18.20.5
Package manager
yarn@4
Operating system
mac 15.2
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: