From 7b7d89b263cfe857b66fc800037fe155a17f46b6 Mon Sep 17 00:00:00 2001 From: Christian Lang Date: Thu, 26 Oct 2023 09:56:34 +0200 Subject: [PATCH] tools_and_varia: add example for YAML anchors --- topics/tools_and_varia/slides/markup_languages.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/topics/tools_and_varia/slides/markup_languages.md b/topics/tools_and_varia/slides/markup_languages.md index 92b4e62..b35b374 100644 --- a/topics/tools_and_varia/slides/markup_languages.md +++ b/topics/tools_and_varia/slides/markup_languages.md @@ -103,7 +103,7 @@ list: \colNext{0.55} ~~~{.yaml} -dictionary: +dictionary: &dictAnchor key: value another: "dictionaries are objects" @@ -113,6 +113,7 @@ objectList: key3: { subKey1: true, subKey2: -1.2 } - otherStruct: 2 inlineList: [ 1, 2, 3, 4 ] + usingAnchor: *dictAnchor ~~~ \colEnd