From: "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Markdown to markdown pre-filtering for equation numbers loses YAML meta block
Date: Wed, 18 Oct 2017 00:09:10 +0530 [thread overview]
Message-ID: <ea78e6f5-67cc-be29-684f-c1fa106c7783@gmail.com> (raw)
I need to assign equation numbers in a markdown document and am running
the pandoc-eqnos filter specifically to get a source document with that.
Ergo, I need the output format to be markdown as well, preferably the
default flavour put out by pandoc.
I tried
pandoc --to markdown --filter pandoc-eqnos --output out.md in.md
but I find that the YAML metadada block at the very top of in.md
disappears in the out.md. What should I do to preserve it?
Thanks.
Chandra
next reply other threads:[~2017-10-17 18:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 18:39 R (Chandra) Chandrasekhar [this message]
[not found] ` <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-17 20:46 ` John MACFARLANE
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=ea78e6f5-67cc-be29-684f-c1fa106c7783@gmail.com \
--to=chyavana-re5jqeeqqe8avxtiumwx3w@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).