public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* YAML metadata files' override order in a single command line
@ 2019-10-02 16:59 K4zuki
       [not found] ` <2921e399-c659-4cba-9357-577c2b05aece-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: K4zuki @ 2019-10-02 16:59 UTC (permalink / raw)
  To: pandoc-discuss


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

Hello,

I have a question regarding multiple yaml input in one command line.

I have two yaml metadata files: system/config.yaml and user/config.yaml. 
They have some overlaps in entries.
I tested the following command with expectation that user/config.yaml 
overrides system/config.yaml:

pandoc -s -t markdown system/config.yaml user/config.yaml


but in fact system/config.yaml wins. What system/config.yaml does not have 
is merged as expected (and vice versa).

So the question is when multiple yaml with entry overlap given in a single 
command line, what kind of override order is applied?

Thanks && Regards,
Kazuki

-- 
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/2921e399-c659-4cba-9357-577c2b05aece%40googlegroups.com.

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

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

end of thread, other threads:[~2019-10-03  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02 16:59 YAML metadata files' override order in a single command line K4zuki
     [not found] ` <2921e399-c659-4cba-9357-577c2b05aece-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-02 18:48   ` FEEDBACK WANTED: " John MacFarlane
     [not found]     ` <yh480keezv0yrx.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-10-02 19:45       ` BPJ
     [not found]         ` <4998a075-0f70-4b30-7406-135d2e160b97-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-10-02 21:00           ` Gareth Stockwell
2019-10-03  0:04           ` John MacFarlane

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