You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LinkReferenceDefinition takes over sourceSpans from a block following it #315
We should probably change them to extends Block instead of extends Node. Thoughts? I made the change and none of the tests break, but it's technically an API change.
We should probably change them to extends Block instead of extends Node. Thoughts? I made the change and none of the tests break, but it's technically an API change.
Activity
Fix link reference definition parsing with invalid title
robinst commentedon Apr 6, 2024
Thanks! Raised a PR to fix this.
Link reference definitions are a bit of an odd one in the way they're parsed. But in the spec, they're listed under blocks: https://spec.commonmark.org/0.31.2/#link-reference-definitions
We should probably change them to
extends Blockinstead ofextends Node. Thoughts? I made the change and none of the tests break, but it's technically an API change.Make LinkReferenceDefinition extend Block
robinst commentedon Apr 26, 2024
Done in 3038d47