Skip to content

Commit

Permalink
tools_and_varia: add example for YAML anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
langchr86 committed Oct 26, 2023
1 parent 6b69075 commit 7b7d89b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion topics/tools_and_varia/slides/markup_languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ list:
\colNext{0.55}

~~~{.yaml}
dictionary:
dictionary: &dictAnchor
key: value
another: "dictionaries are objects"
Expand All @@ -113,6 +113,7 @@ objectList:
key3: { subKey1: true, subKey2: -1.2 }
- otherStruct: 2
inlineList: [ 1, 2, 3, 4 ]
usingAnchor: *dictAnchor
~~~

\colEnd
Expand Down

0 comments on commit 7b7d89b

Please sign in to comment.