public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Defaults Files and header-includes
@ 2023-10-10  1:06 iandol
       [not found] ` <cd6c5731-19c7-4189-9b45-ab783decfdb4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: iandol @ 2023-10-10  1:06 UTC (permalink / raw)
  To: pandoc-discuss


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

I want to use header-includes: in a defaults file, so assuming it is 
metadata (i.e. converted to variables for the template) do this in my 
typst.yaml defaults file:

metadata:
header-includes: |
```{=typst}
#set heading(numbering: "(I)")
```
mainfont: "Alegreya Sans"

But the output is escaped. The same header-includes text works when added 
to the document metadata header directly. I'm probably doing something 
stupid but didn't yet grok what that is... Any help appreciated!

Best, Ian

-- 
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/cd6c5731-19c7-4189-9b45-ab783decfdb4n%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-11  2:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-10  1:06 Defaults Files and header-includes iandol
     [not found] ` <cd6c5731-19c7-4189-9b45-ab783decfdb4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-10  4:03   ` John MacFarlane
     [not found]     ` <BE9346D3-73A6-47AD-8EEB-BC94E6EA601D-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-10-10 12:44       ` iandol
     [not found]         ` <8f5ccade-4695-4bc4-a61d-e7c9cf24db50n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-10 15:50           ` iandol
     [not found]             ` <69a8684d-d7db-421f-9a8c-3454ca012511n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-10 15:58               ` iandol
     [not found]                 ` <2e8f4aa6-79e4-4bf0-808a-764da284133dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-10 17:06                   ` John MacFarlane
     [not found]                     ` <6FE0832A-2D38-447D-8044-CDAC6991A55F-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-10-11  2:24                       ` iandol

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).