Closed
Description
Background: I'm converting node.js from marked to unified/remark/rehype, and found a regression. It seems that mdast-util-to-hast intentionally does not have a fallback for link references:
mdast-util-to-hast/test/link-reference.js
Lines 22 to 44 in f2e3ec5
This varies from the commonmark spec and other implementations:
https://spec.commonmark.org/0.28/#full-reference-link
https://spec.commonmark.org/dingus/?text=[foo][bar]
Is there a reason for this deviation?