From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32548 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Pinsley Newsgroups: gmane.text.pandoc Subject: separating citations in md Date: Sun, 7 May 2023 12:54:47 -0700 (PDT) Message-ID: <8a80881f-a26a-48e4-be33-3492910aa752n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_520_1151778086.1683489287207" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24213"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC54T4OPXIARBCME4CRAMGQENWMFVRA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 07 21:54:52 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pvkT6-000673-IH for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 07 May 2023 21:54:52 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id 006d021491bc7-54f5cbdfbf5sf450561eaf.3 for ; Sun, 07 May 2023 12:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1683489291; x=1686081291; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=BrKUy6qYzSVUwYcQff/BWStflfldWZLk1poyM8zqa5c=; b=cUU4ykzmHbqjmcS+u79YNxwuAZZvzQTnWAVEfmZikq2unPVbVeV+K+CyzLrjsEM0Wv 0YOqFzcQf2QapNS+DAJQj1NbUpBYf9sKQbeFmxD22Kl+UvrwsfjuKz2jwFj/ZgKDjK12 Vx2HMP/Ks5+9X6+KuYjZRkuen2jyW/P0iy5nCSzJTM8wbcGYaxmixX1DOBi19tK0RJ1s nbd2ijBBlZoBCr2hvNybbV1SDzrKT7AoIhABrc8qHOdFftsMDwCb0wPt8mwSAUXd2zPP KCzEhdSP4MO+2iBtz9SuNoOtS2+Uqeh5P+5QmhP42+7Pj1AACOjpZ+vA6iOKfPB23Isg PI3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinsley-com.20221208.gappssmtp.com; s=20221208; t=1683489291; x=1686081291; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=BrKUy6qYzSVUwYcQff/BWStflfldWZLk1poyM8zqa5c=; b=2GBflJijZOW9n0SOayL4zp04UsA+XrsckIvlrUZz0JeMBVuUecUB+EXn7Z4zY0RFjK g4JTj4uwFAIwRA+eLf28R46X4GOWcg4nOIW0oTgS5p/IBJce4TtIQ5gegVwgofMQaKwq UJxzeRJoLvc76j3oxWD/TS4iXrhUvURe+WKM4dFHNRfou0YVjaIY34y6lXhrDwma7REb x5cVblcJXZ7CPfGyIuaA+WuTB2hHo6QWMtzWtACU772Mh5HrWLzI70pcP+ey9zUgXk51 JPjTZnzMI+rSc/KkojXoZPnAV0Cy+BeP7w72IjOhKnXNhbBul7e21fPq9cAH+YWDxFox cA2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683489291; x=1686081291; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=BrKUy6qYzSVUwYcQff/BWStflfldWZLk1poyM8zqa5c=; b=NeciInovZ9ZTW0zURCEuzVY95smwkoHTFIjRCBSZmZkapzAdxSFRgSij6dj5qafZ/j SieXx3dY5UsBU42FCtjFuv4mRDZFLXJz8fGnJGEeMXwf3RrCSAIDn/fLdXcbre/ttjEa vMQU/Po0y/31rIVfV5hCmCyVYI2QKGtfbnrmQdZyErdCDBNkBHt/9CZaIo/tBec0Huh4 +4LqlEniraEiJTy+JnmG+s4YP6mV7IjYXsiCn+qYJkayCaz2sGE0gRNug/zhGwl1iBf3 crv01xQDDG+otL1kHp+8bU81aouQlTsV4y5JBw0miuMoCU3KFQcZ8yMKfaQyjqy/ax47 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxLurOsLWpLLAwSaPgn/LIaeAyAIU32XzLsKCM5nfyvdwdOKUFr 6j6JUprB9k2qsvXcbYrjoiQ= X-Google-Smtp-Source: ACHHUZ7B9Z6UGjaOULTN5FjFrMZj/Yr8oyACEN47m5S3Sim7N01hGGvdYEmHn7Ji3++IMhSUMTg6kg== X-Received: by 2002:a4a:d349:0:b0:54f:5540:535c with SMTP id d9-20020a4ad349000000b0054f5540535cmr1209656oos.1.1683489291285; Sun, 07 May 2023 12:54:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3b41:0:b0:38e:a160:8a3a with SMTP id i62-20020aca3b41000000b0038ea1608a3als6409853oia.11.-pod-prod-gmail; Sun, 07 May 2023 12:54:48 -0700 (PDT) X-Received: by 2002:aca:330b:0:b0:38d:ede4:3773 with SMTP id z11-20020aca330b000000b0038dede43773mr1447873oiz.2.1683489288020; Sun, 07 May 2023 12:54:48 -0700 (PDT) X-Original-Sender: mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32548 Archived-At: ------=_Part_520_1151778086.1683489287207 Content-Type: multipart/alternative; boundary="----=_Part_521_1608802273.1683489287207" ------=_Part_521_1608802273.1683489287207 Content-Type: text/plain; charset="UTF-8" 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 [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. ------=_Part_521_1608802273.1683489287207 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have attached three files

First.md
First.H= TML
Updated.md

I wrote First.Md
<= div>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]: =C2=A0 =C2= =A0 =C2=A0https://www.dermamedsolutions.com
[yahoo]: https://www.yahoo= .com
[MultiMarkdown]: https://fletcherpenney.net/multimarkdown/
[= Markdown]: =C2=A0 https://daringfireball.net/projects/markdown/
<= br />

What I am doing is keeping the URL citatio= ns at the bottom to keep the text clean looking. Sometimes I have some pret= ty long URLs

In Pandoc I used the command
<= div>'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 li= ne 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_521_1608802273.1683489287207-- ------=_Part_520_1151778086.1683489287207 Content-Type: text/html; charset=US-ASCII; name=First.html Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=First.html X-Attachment-Id: 24dcd2e7-e9d4-4919-a10f-e17df762a474 Content-ID: <24dcd2e7-e9d4-4919-a10f-e17df762a474> Original MD

Test my reference Dermamed yahoo MultiMarkdown MarkDown

This is a Link where the url is directly next to the word link in markdown

------=_Part_520_1151778086.1683489287207 Content-Type: text/markdown; charset=US-ASCII; name=updated.md Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=updated.md X-Attachment-Id: 4e9af5eb-eb82-4111-b1ec-04cf1c2e2d2a Content-ID: <4e9af5eb-eb82-4111-b1ec-04cf1c2e2d2a> --- 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 ------=_Part_520_1151778086.1683489287207 Content-Type: text/markdown; charset=UTF-8; name=First.md Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=First.md X-Attachment-Id: b9711618-5752-409c-bb98-37fca9b1d19f Content-ID: =EF=BB=BFTest my reference [Dermamed] [yahoo] [MultiMarkdown] [MarkDown] This is a [Link](www.usatoday) where the url is directly next to the word l= ink in markdown [Dermamed]: https://www.dermamedsolutions.com [yahoo]: https://www.yahoo.com [MultiMarkdown]: https://fletcherpenney.net/multimarkdown/ [Markdown]: https://daringfireball.net/projects/markdown/ ------=_Part_520_1151778086.1683489287207--