Skip to content

Commit

Permalink
fix(docs): prevent notation from being eaten by MDC (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri1969 authored Jul 31, 2023
1 parent 9b6b2c6 commit aca206c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can output variables directly inside an expression. For example, if the cont
{{ foo }}
```

You can use the dot (.) notation to access the attributes of variables. If the attribute contains a special character, you can use the subscript notation ([]) instead.
You can use the dot (`.`) notation to access the attributes of variables. If the attribute contains a special character, you can use the subscript notation (`[]`) instead.
```twig
{{ foo.bar }} # Attribute 'bar' of 'foo'
{{ foo.bar.baz }} # Attribute 'baz' of attribute 'bar' of 'foo'
Expand All @@ -28,7 +28,7 @@ You can use the dot (.) notation to access the attributes of variables. If the a
```

::alert{type="warning"}
You will see a lot of tasks with hyphenated names in the documentation. When using hyphenated names, you must use the subscript notation ([]) to access any task variables as `-` is a Pebble special character.
You will see a lot of tasks with hyphenated names in the documentation. When using hyphenated names, you must use the subscript notation (`[]`) to access any task variables as `-` is a Pebble special character.
::


Expand Down

1 comment on commit aca206c

@vercel
Copy link

@vercel vercel bot commented on aca206c Jul 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kestra-io – ./

kestra-io-git-main-kestra.vercel.app
kestra-io-kestra.vercel.app
kestra-io.vercel.app

Please sign in to comment.