From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Easy user variable substitution?
Date: Fri, 30 Jun 2017 17:21:30 +0200 [thread overview]
Message-ID: <20170630152130.GE26837@Administrateurs-iMac-3.local> (raw)
In-Reply-To: <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
No, though one could write a filter that did this.
+++ Joseph Reagle [Jun 30 17 11:05 ]:
>
>Is there a facility for user variable substitutions? That is, I don't want a template but the ability to define a variable in the YAML and have it substituted in whichever output-type/template I choose.
>
>______________________
>
>---
>title: "Some Title"
>author: Joseph Reagle
>date: 2017
>...
>
>This report was authored by $author$ on $date$.
>
>--
>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/efbeb4e2-bc38-4b84-172c-fd89100380f3%40reagle.org.
>For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2017-06-30 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-30 15:05 Joseph Reagle
[not found] ` <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2017-06-30 15:21 ` John MacFarlane [this message]
2017-07-10 8:22 ` Scott Koga-Browes
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=20170630152130.GE26837@Administrateurs-iMac-3.local \
--to=jgm-tvlzxgkolnx2fbvcvol8/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).