Flip Markdown between inline links [text](url) and reference-style [text][1] with the URL list at the bottom. Useful for cleaning up long blog posts or READMEs with many citations — reference style keeps prose readable and lets you change a URL once instead of finding every occurrence.
Every URL extracted from the input, in the order it first appears. Edit the input to change.
Both syntaxes render identically to HTML, but reference-style is friendlier for editing: the URL appears once at the bottom, the prose stays scannable, and updating a URL is a single change instead of a find-and-replace. CommonMark and GFM both support this form, including image references with ![alt][label] and a definition row of [label]: url "optional title". Labels are case-insensitive and may contain spaces.
The slug label style derives a label from the link text (e.g. [Anthropic blog](url) → [anthropic-blog]). When two links share a URL and dedupe is on, they share a label; otherwise each gets its own.