From: Mark Pinsley <mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: separating citations in md
Date: Sun, 7 May 2023 12:54:47 -0700 (PDT) [thread overview]
Message-ID: <8a80881f-a26a-48e4-be33-3492910aa752n@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1437 bytes --]
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8a80881f-a26a-48e4-be33-3492910aa752n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2062 bytes --]
[-- Attachment #2: First.html --]
[-- Type: text/html, Size: 4047 bytes --]
[-- Attachment #3: updated.md --]
[-- Type: text/markdown, Size: 417 bytes --]
---
generator: pandoc
title: Original MD
viewport: width=device-width, initial-scale=1.0, user-scalable=yes
---
Test my reference [Dermamed](https://www.dermamedsolutions.com)
[yahoo](https://www.yahoo.com)
[MultiMarkdown](https://fletcherpenney.net/multimarkdown/)
[MarkDown](https://daringfireball.net/projects/markdown/)
This is a [Link](www.usatoday) where the url is directly next to the
word link in markdown
[-- Attachment #4: First.md --]
[-- Type: text/markdown, Size: 397 bytes --]
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/
next reply other threads:[~2023-05-07 19:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 19:54 Mark Pinsley [this message]
[not found] ` <8a80881f-a26a-48e4-be33-3492910aa752n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-08 12:25 ` Ian Cornelius
[not found] ` <3ba766cb-b261-4576-8e12-a43496a5bc8fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-08 12:37 ` Mark Pinsley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8a80881f-a26a-48e4-be33-3492910aa752n@googlegroups.com \
--to=mark-nhpudssogepbdgjk7y7tuq@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).