Use the option --reference-links. See here:
https://pandoc.org/MANUAL.html#option--reference-links
On Sunday, May 7, 2023 at 2:54:47 PM UTC-5 Mark Pinsley wrote:
I have attached three files

First.md
First.HTML
Updated.md

I wrote First.Md
it looks like this:

Test my reference
[Dermamed]
[yahoo]
[MultiMarkdown]
[MarkDown]

This is a [Link](www.usatoday) where the url is directly next to the word link in markdown

<!-- Citations -->
[Dermamed]:      https://www.dermamedsolutions.com
[yahoo]: https://www.yahoo.com
[MultiMarkdown]: https://fletcherpenney.net/multimarkdown/
[Markdown]:   https://daringfireball.net/projects/markdown/


What I am doing is keeping the URL citations at the bottom to keep the text clean looking. Sometimes I have some pretty long URLs

In Pandoc I used the command
'pandoc -s "First.md" -o First.html

The HTML comes out as expected
Then I used the Pandoc command
'pandoc -s First.html -o updated.md

When you look at the new updated.md file. You will see that all links are on the same line as the text (rather than at the bottom). I was looking for a command to create all these links at the bottom rather than inline. Is there a way to do that?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3ba766cb-b261-4576-8e12-a43496a5bc8fn%40googlegroups.com.