Skip to content

Commit

Permalink
Nest YAML block inside tip
Browse files Browse the repository at this point in the history
Signed-off-by: Yury Fedotov <[email protected]>
  • Loading branch information
yury-fedotov committed Nov 8, 2024
1 parent f9f382f commit 99a4ccb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/source/kedro-viz_visualisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ The visualisation now includes the layers:
```{tip}
Duplicated defititions like
metadata:
kedro-viz:
layer: raw
```yaml
metadata:
kedro-viz:
layer: raw
```
can be avoided by leveraging YAML's native syntax for anchors and aliases.
See [this example from the Kedro docs](https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html#load-multiple-datasets-with-similar-configuration-using-yaml-anchors).
Expand Down

0 comments on commit 99a4ccb

Please sign in to comment.