public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Ranjit Jhala <rjhala-fWt/sZ2FBdz2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Pass parameters to filter?
Date: Sun, 1 Mar 2015 06:37:00 -0800 (PST)	[thread overview]
Message-ID: <c5f4274d-e2f4-4e77-91c2-798996bdcb10@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 886 bytes --]

Hi,

Is there an easy way to pass parameters to a filter? For example, 
suppose I want to pass in a path to some file that will be used as 
a template by the filter. Is there an easy way to pass this path along?

I tried 

    pandoc --filter codeblock.hs path

but that doesn't work. Any clues?

Thanks!

Ranjit.

-- 
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/c5f4274d-e2f4-4e77-91c2-798996bdcb10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1718 bytes --]

             reply	other threads:[~2015-03-01 14:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01 14:37 Ranjit Jhala [this message]
     [not found] ` <c5f4274d-e2f4-4e77-91c2-798996bdcb10-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-02  0:40   ` 'Jason Seeley' via pandoc-discuss
     [not found]     ` <93845016-5a7f-4dfc-928c-d0a740205933-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-02 17:35       ` John MacFarlane
     [not found]         ` <20150302173526.GA63436-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2015-03-02 19:22           ` Ranjit Jhala
2015-03-02 23:28           ` Ranjit Jhala
     [not found]             ` <521e983e-91b5-4c48-a91a-e6216bcb0c28-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-02 23:30               ` Ranjit Jhala
     [not found]                 ` <c6e82242-10ae-4a61-a9b3-ca9aa4e645c3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-02 23:32                   ` Ranjit Jhala
2015-03-02 23:46                   ` Tillmann Rendel
     [not found]                     ` <54F4F650.6060209-jNDFPZUTrfQQDnmTUQnR1uqEdJ8o/OS0G9Ur7JDdleE@public.gmane.org>
2015-03-04  3:58                       ` Ranjit Jhala

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=c5f4274d-e2f4-4e77-91c2-798996bdcb10@googlegroups.com \
    --to=rjhala-fwt/sz2fbdz2fbvcvol8/a@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).