Skip to content

Commit 29ea6a1

Browse files
committed
edits to yml code bloack type
1 parent 9163554 commit 29ea6a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

_episodes/07-development-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ when you submit a pull request.
365365
>> To fix the recipe, we need to edit the path of the diagnostic script
366366
>> as ``warming_stripes.py``:
367367
>>
368-
>> ~~~yml
368+
>> ~~~yaml
369369
>> scripts:
370370
>> warming_stripes_script:
371371
>> script: warming_stripes.py

_episodes/08-diagnostics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,13 +430,13 @@ function of our choice. As can be seen, this function uses
430430
section in the recipe ``recipe_python.yml``, you see ``quickplot`` is a key
431431
there:
432432
433-
~~~yaml
433+
```yaml
434434
script1:
435435
script: examples/diagnostic.py
436436
quickplot:
437437
plot_type: pcolormesh
438438
cmap: Reds
439-
~~~
439+
```
440440
441441
This way, we can pass arguments such as the type of
442442
plot ``pcolormesh`` and the colormap ``cmap:Reds`` from the recipe to the
@@ -451,13 +451,13 @@ plot ``pcolormesh`` and the colormap ``cmap:Reds`` from the recipe to the
451451
>> In the recipe ``recipe_python.yml``, you could change ``plot_type`` and ``cmap``.
452452
>> As an example, we choose ``plot_type: pcolor`` and ``cmap: BuGn``:
453453
>>
454-
>> ~~~yaml
454+
>> ```yaml
455455
>> script1:
456456
>> script: examples/diagnostic.py
457457
>> quickplot:
458458
>> plot_type: pcolor
459459
>> cmap: BuGn
460-
>>~~~
460+
>>```
461461
>>
462462
>> The plot can be found at *path_to_recipe_output/plots/map/script1/png*.
463463
> {: .solution}

0 commit comments

Comments
 (0)