Question is nicely formatted here: https://github.com/jgm/pandoc/issues/8919 On Monday, 26 June 2023 at 21:43:36 UTC+1 Indy Singh wrote: > Question is nicely formatted here, but a copy and paste:- > > Given this as input.md:- > > ```markdown > --- > title: Strings Are Evil > subtitle: Reducing memory allocations from 7.5GB to 32KB > header-includes: | > content="website"> > > content="{{title}}" /> > content="{{subtitle}}" /> > > content="{{title}}" /> > content="{{subtitle}}" /> > > content="{{title}}" /> > content="{{subtitle}}" /> > --- > rest of the blog > ``` > > Produce this output:- > > ```html > > > content="Reducing memory allocations from 7.5GB to 32KB" /> > > content="Reducing memory allocations from 7.5GB to 32KB" /> > content="Strings Are Evil" /> > content="Reducing memory allocations from 7.5GB to 32KB" /> > ``` > > I did try > https://pandoc.org/lua-filters.html#replacing-placeholders-with-their-metadata-value > and played about with > https://github.com/jgm/pandoc/issues/1950#issuecomment-74613325 but I > could never get it to work inside the markdown meta block. > > I've tried various incarnations of `{.thing}` too. > > Cheers, > Indy > -- 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/fdbc8315-8a84-4ae7-bdea-aa39bfb88fa9n%40googlegroups.com.