public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Shiwei Weng <arbipher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Interpolate a value defined in metadata without a template
Date: Tue, 8 Feb 2022 17:55:52 -0800 (PST)	[thread overview]
Message-ID: <986f8e0f-9bf8-44ba-aae9-678315f1da94n@googlegroups.com> (raw)


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

Hi all,

I am new to pandoc. I am trying to render from a markdown file to a html 
file.

I wonder if it's possible to interpolate a field in the metadata e.g. 
if the meta has `foo=MY_FOO` , in the markdown I write `$(foo)` and I hope 
the result html has `MY_FOO` without using a template.

best,
Shiwei

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/986f8e0f-9bf8-44ba-aae9-678315f1da94n%40googlegroups.com.

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

             reply	other threads:[~2022-02-09  1:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AQHYHVgud3W2GHIs10iUFNi6wRG666yK3yAAgAABzACAAAR1gIAAVtcAgAARTiA=>
2022-02-09  1:55 ` Shiwei Weng [this message]
     [not found]   ` <986f8e0f-9bf8-44ba-aae9-678315f1da94n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-02-09  9:13     ` William Lupton
     [not found]       ` <CAEe_xxjkA5yFoxtq7aFfxfxw_88HO1aL46URc1qyr3fdzddudg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-02-09  9:19         ` Joost
     [not found]           ` <525b4bf5-4db1-4040-baaf-b4fea3be6a01-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org>
2022-02-09  9:35             ` William Lupton
     [not found]               ` <CAEe_xxgk1UD44XHm6CRzHbWuPEcgWdEd+q65XqsLf3AxMJY0Pw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-02-09 14:46                 ` Shiwei Weng
     [not found]                   ` <c8c01eae-a15d-45fd-bf60-ccfe266994f2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-02-09 14:49                     ` AW: " denis.maier-NSENcxR/0n0
     [not found]                       ` <6616f42d3fcc49ba8b0f50b037603bd3-NSENcxR/0n0@public.gmane.org>
2022-02-09 15:06                         ` Shiwei Weng

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=986f8e0f-9bf8-44ba-aae9-678315f1da94n@googlegroups.com \
    --to=arbipher-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).