* Easy user variable substitution? @ 2017-06-30 15:05 Joseph Reagle [not found] ` <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Joseph Reagle @ 2017-06-30 15:05 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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$. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>]
* Re: Easy user variable substitution? [not found] ` <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> @ 2017-06-30 15:21 ` John MacFarlane 2017-07-10 8:22 ` Scott Koga-Browes 1 sibling, 0 replies; 3+ messages in thread From: John MacFarlane @ 2017-06-30 15:21 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Easy user variable substitution? [not found] ` <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 2017-06-30 15:21 ` John MacFarlane @ 2017-07-10 8:22 ` Scott Koga-Browes 1 sibling, 0 replies; 3+ messages in thread From: Scott Koga-Browes @ 2017-07-10 8:22 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1201 bytes --] It's fairly rudimentary but my filter 'pandoc-abbreviations <https://github.com/scokobro/pandoc-abbreviations>' might help, or at least be a start for you to build something to suit your needs. On Saturday, 1 July 2017 00:05:51 UTC+9, Joseph wrote: > > > 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/55e21a4e-a430-46ef-9869-c1d3eee067d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 1807 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-10 8:22 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-06-30 15:05 Easy user variable substitution? Joseph Reagle [not found] ` <efbeb4e2-bc38-4b84-172c-fd89100380f3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 2017-06-30 15:21 ` John MacFarlane 2017-07-10 8:22 ` Scott Koga-Browes
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).