Skip to content

Commit 2dd7cb7

Browse files
committed
Fix formatting issues in YAML code blocks in templates-apply.md
1 parent 2483b23 commit 2dd7cb7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/guides/ojobio/templates-apply.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ And executing in the same way as the previous example it will generate the same
154154
155155
When it gets really interesting is when you generate other data files using a master data & template file. Let's say you need to generate some install scripts for your Java application in different architectures with different JREs. Your stepA.yaml could look like this:
156156
157-
````yaml
157+
{% raw %}```yaml
158158
template: &TEMPLATE |
159159
_template: |
160160
\{{#if win}}
@@ -200,7 +200,7 @@ data:
200200
- stable
201201
- canary
202202
- nightly
203-
````
203+
```{% endraw %}
204204
205205
Executing ojob.io/template/apply on stepA.yaml generates a new stepB.yaml with 45 data entries:
206206
@@ -227,8 +227,7 @@ data:
227227
jvm : 8
228228
arch : amd64
229229
# ...
230-
````
231-
{% endraw %}
230+
```
232231

233232
Executing stepB.yaml:
234233

0 commit comments

Comments
 (0)