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 example comment
- mention related issues (Github, Trello, etc.)
- with nesting and other stuffreviewers when you're ready
  + "Use your gut" to choose appropriate reviewers
  + expect your first response within 24 hours
-->

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-/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.com.
For more options, visit https://groups.google.com/d/optout.