From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30723 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emiliano Newsgroups: gmane.text.pandoc Subject: External default files specified in the YAML section of a Markdown file Date: Fri, 10 Jun 2022 09:06:25 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_848_1060384376.1654877185961" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27147"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDM7PRPHYAPRBA6YRWKQMGQE5SQXL4Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 10 18:06:30 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f61.google.com ([209.85.160.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nzh9a-0006qp-G9 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 10 Jun 2022 18:06:30 +0200 Original-Received: by mail-oa1-f61.google.com with SMTP id 586e51a60fabf-f344ea88d9sf1939986fac.11 for ; Fri, 10 Jun 2022 09:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=0Urs9fRAfdwAixcCkZ/GDrnDU+2SASDfAPOaVgULg1M=; b=Xb0G6tK4Nd8TCHn0fll2+rEm87QZNLMBTPQgWtMDfTB9dRmEOtvmer0XSKxOjkq8v2 7kAub5rwkCsJtfi959p5CZ8SUzsgapzgBjBD6M5o5chSJN/JQyJQE57XMCfF2lLiUcPJ WRhflnvK5O/RcjAWHBzB9wd0KiQGlveAxwcsjpYs1eUTWJFcBsQT6km2LYNHyW8EZXM0 xWF6A6ZS6boqngNTpFebfWYBk+2ocRj3N+drOtfa5HWtfXhwdVpLMgX9Ro9NPmrzu/Jd es+O76r4CX7Bc5q4h62gNPsfplkAp7suVy/1aKcGi6wWkgllOS0pfNBad+eUC97GIaff u4vQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=0Urs9fRAfdwAixcCkZ/GDrnDU+2SASDfAPOaVgULg1M=; b=AVzcL1svQILvfhr8V7/IK/RCdrqjrgtkrRXrXVSzB9WjVkIfSsZqHFNmlifZQYNI/x +FIIZrWPRiPmVOxtElUNvvrVm9RqFeq2pPu0tR2MA9U4tpL1VuM7ca3r5qW25zJxjCpQ amG98p7OSFR/kPS6l8oZbjFqk4zH8kTrD21lw+lVCMAyLQ0y1r+gzVz9FXsYeZYCA+eC uouH+zvjSSgzr+s5Kc8i/5STwNib4IHvcNCsK14StPcR9H830HAnM/sonelgQuL1BB1W 3/xd8jU6+imoiJXKKE8hOXd2QF+knKq75DrxKzD7lHWNsOQWeIchpsPkH13XOvta9yfF dgdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=0Urs9fRAfdwAixcCkZ/GDrnDU+2SASDfAPOaVgULg1M=; b=Wae8ZwfkybvZ5v6ldbDbbBCEui7fpgm20Jk8sxKIYAQnN6a/aQMdr/y71PFRaqLRG3 vO92VN7JcFGtytncaAJZ1ZANcNKSBuDN9s98lf0NpaXjaTKOlIQA1BDSa79lyNIA9A+K IqZCfbp7KNZXAEHX1JAs0orwZLbCUR599lM0YHi2Uj8TknPIjxX8ZZQj2ZnprnfLraFd w3hGjo2q3zl0NXeHgQkJZDUwVQ6ntIwtlgo5lJFbnT+EXJ6HP9fOW3QJ1JAOI5M0hkX8 3wCwR8Ni7fWTD8K5cL4tx5QhKa6JrP3jC0DY9vrQzZ9Ndz4bXZWNvxYIJWfhHA67kz/7 upWA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532I/f9oH2B/IkizSp30xbfy8QSW2EXGuPSq/PNrR8pQBUYgDG/w u3VbdGlcoilZzZkjcZewcXc= X-Google-Smtp-Source: ABdhPJxTL9obnnm6z02SR+HRMK2Ef0DIiOZ77Fr+g55l184WW3qzWWk0eyGQSEcfQZRlkhQ5RZ8s8w== X-Received: by 2002:a05:6808:f88:b0:32b:d10f:cc6b with SMTP id o8-20020a0568080f8800b0032bd10fcc6bmr306248oiw.228.1654877189480; Fri, 10 Jun 2022 09:06:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1aca:b0:60c:21bd:97ba with SMTP id r10-20020a0568301aca00b0060c21bd97bals1385047otc.6.gmail; Fri, 10 Jun 2022 09:06:26 -0700 (PDT) X-Received: by 2002:a05:6830:91b:b0:60c:41bf:41d4 with SMTP id v27-20020a056830091b00b0060c41bf41d4mr448467ott.54.1654877186635; Fri, 10 Jun 2022 09:06:26 -0700 (PDT) X-Original-Sender: gattulli.emiliano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30723 Archived-At: ------=_Part_848_1060384376.1654877185961 Content-Type: multipart/alternative; boundary="----=_Part_849_1915057979.1654877185961" ------=_Part_849_1915057979.1654877185961 Content-Type: text/plain; charset="UTF-8" Hello everyone! I'm trying to simplify the YAML section of my Markdown files by writing most of my settings in a separate default file or metadata file. The idea is to write just a few lines of YAML in my Markdown file and then having a separate file (let's call it config.yaml) in which I can set everything else. Let me provide a practical example: > file.md ```markdown --- title: This is a simple Markdown file author: Emiliano default: ${.}/config.yaml --- # Heading This is the content of the section. ``` > config.yaml ```yaml --- lang: en-US papersize: a4 linestretch: 1.5 mainfont: "Palatino" geometry: - top=2.5cm - left=3cm - right=3cm - bottom=2.5cm pdf-engine: xelatex --- ``` This very example I provided does not work! Do you have any idea of how to solve this issue? Many thanks in advance! Emiliano -- 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/e80a4dce-27f5-4379-a44f-5f43af197cc9n%40googlegroups.com. ------=_Part_849_1915057979.1654877185961 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello everyone!

I'm trying to simplify the YAML section = of my Markdown files by writing most of my settings in a separate default f= ile or metadata file. The idea is to write just a few lines of YAML in my M= arkdown file and then having a separate file (let's call it config.yaml) in= which I can set everything else. Let me provide a practical example:
=

> file.md
```markdown
---
<= div>title: This is a simple Markdown file
author: Emiliano
<= div>default: ${.}/config.yaml
---

# Head= ing

This is the content of the section.
= ```

> config.yaml
```yaml
-= --
lang: en-US
papersize: a4
linestretch: 1.5
mai= nfont: "Palatino"
geometry:
  - top=3D2.5cm
  - left=3D3= cm
  - right=3D3cm
  - bottom=3D2.5cm
pdf-eng= ine: xelatex
---
```

This very= example I provided does not work! Do you have any idea of how to solve thi= s issue?

Many thanks in advance!
Emilian= o

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/e80a4dce-27f5-4379-a44f-5f43af197cc9n%40googlegroups.= com.
------=_Part_849_1915057979.1654877185961-- ------=_Part_848_1060384376.1654877185961--