From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23134 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dignam Newsgroups: gmane.text.pandoc Subject: Output of markdown to markdown is not equal to the input Date: Sun, 14 Jul 2019 07:50:31 -0700 (PDT) Message-ID: <81dd41b1-f306-48e1-ae4d-7d7f8892d933@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1852_1953017905.1563115831400" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95619"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCKM3KMW5QFRBOECVXUQKGQEHZB6F3A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 14 16:57:06 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hmfw2-000OlB-72 for gtp-pandoc-discuss@m.gmane.org; Sun, 14 Jul 2019 16:57:06 +0200 Original-Received: by mail-ot1-f56.google.com with SMTP id f11sf8266057otq.3 for ; Sun, 14 Jul 2019 07:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=sXm/WVb3ZjqRMHjiYMaYCXSy73/NPo4Qy6qYHryaZmg=; b=TmSQAjQVTmPjca5tm4yfNYRgngs7zPUbxkwB0RIoOylcv8kFJj1iDBMukNAu6zJhnC miudhxc2I/BvqA3aBCSIUECBFtyQ2uJB2JxJlEM7opwxGoKDssCQlLSY07Uid5OAexyp 4mSNwtfj9yc+EAgkvGfYC8uYAhrRppeX7gqV1Th9sJBxHYCEWFJdmvaV6ATG42wkqscl xoqoKnd1jErMIGy4u4f0M0H/hL3YZyvCGnHy+E37f9Ye/jzXOTgQa6AO4kuNbdeTAEpN P0wl0aiDR4/fPi/6SB9LcJjjYGTOye3kxF9w3FY25yaI6HU805z98d6xoAmxuScD8qW5 chww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=sXm/WVb3ZjqRMHjiYMaYCXSy73/NPo4Qy6qYHryaZmg=; b=J5k8Iejly19FMikh8q44eCu1BFbTygRf/82ujg2xqJPOpgHgpOAD8mKBH2fa8gzifP p49if5qddQdfhimpbHQBvgUkl8FGa2c7AFt+3dRAEBPfXYhP+Sufs7isp05iBqta6r9D yHEZwxR18xPCT/WAvLUqfVrgCB4CGjAFM0eZQiixVSoyFmuO20BjtSW442w41k2OUFNs eyV7OwAczVOPfxXTA8bA8GB74F0+9NUvuPVuPRR8RVg7HBkbHwZjAVmOp2vaxH+bRduE 9C2d0otBK+dQXvrnKLkWxz9/ZOfu31NAfv9Ov7wWYKxxG9LE3h62SVd5yNDOksGtya1L j9vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=sXm/WVb3ZjqRMHjiYMaYCXSy73/NPo4Qy6qYHryaZmg=; b=erWSv6zyquIvqWwyLTKjx2XofRUfaNerkd00xPyHk4r4X0rujosZlutq7yJbknb63r zftxYC0PIqmDq8DfN+4FBllNQp1Sf13KZmaFhx72V2MY39TCJeEoUJIdAaZ3G3Gd27Bg 0zlilRuIdpddRnIact1u0iDHwdIgyc4rnsXN8n5iVVRZzN6LJ2+U9y4or0Ex+T3jyRNO qkpovS12nZhXyIIA1UUnLub9+XyeBVVphJQS5DlrMVS8B35pm90cNNKY1cVQCKtUhaMx urUbYcRQMW2a158CiurxvGhKJRbQ+Rgxq1NjvtxcmXT60Ad4PTW1NihKH7vFlE3qSY1Y xIvg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAVN+Zgp7w7ZTWGyUR8bev5EhAwRRwGa4FkDNf5vH/2daFsJ9ksc /fMVpWAvoNutM4lMSagi+To= X-Google-Smtp-Source: APXvYqyN1LYPjiMMTP+2rHYlFyIjR4oK+046FornAH6dSqMrLw8zkao/wx7Ha0f57tkBJIEER9OJ+w== X-Received: by 2002:a9d:5ed:: with SMTP id 100mr17071140otd.105.1563115832960; Sun, 14 Jul 2019 07:50:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:dd09:: with SMTP id u9ls1886934oig.6.gmail; Sun, 14 Jul 2019 07:50:32 -0700 (PDT) X-Received: by 2002:aca:72d0:: with SMTP id p199mr11413786oic.178.1563115832039; Sun, 14 Jul 2019 07:50:32 -0700 (PDT) X-Original-Sender: CHDignam-Re5JQEeQqe8AvxtiuMwx3w@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.org gmane.text.pandoc:23134 Archived-At: ------=_Part_1852_1953017905.1563115831400 Content-Type: multipart/alternative; boundary="----=_Part_1853_971688504.1563115831400" ------=_Part_1853_971688504.1563115831400 Content-Type: text/plain; charset="UTF-8" I'm looking to use Pandoc to strip comments from a Markdown document, but it looks like Pandoc strips information when I run the following command: pandoc example.md --strip-comments -o example-rendered.md example.md some arrow --> [0]: https://example.com example-rendered.md some arrow --\> This is what I expected the output to be some arrow --> [0]: https://example.com Is there a way to make pandoc preserve the document? -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/81dd41b1-f306-48e1-ae4d-7d7f8892d933%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1853_971688504.1563115831400 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm looking to use Pandoc to strip comments from a Mar= kdown document, but it looks like Pandoc strips information when I run the = following command:

pandoc exa= mple.md --strip-comments =C2=A0-o example-rendered.md



example.md
<!--
- = some example comment
- mention= related issues (Github, Trello, etc.)
- with nesting and other stuffreviewers when you're ready
=C2=A0 + "Use your gut" = to choose appropriate reviewers
-->

some arrow -->=

[0]: https://example.com

=


example-rendered.md
some arrow --\>

=

This is what I expected the output to be
some arrow -->= ;

[0]: https://example.com



<= /div>

Is there a way to make pandoc preserve the documen= t?

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/81dd41b1-f306-48e1-ae4d-7d7f8892d933%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1853_971688504.1563115831400-- ------=_Part_1852_1953017905.1563115831400--