Skip to content

Commit 16264e8

Browse files
authored
Update IO.md
Example code was displayed as yaml block instead of julia block
1 parent 101a8db commit 16264e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/man/IO.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ After simulating the potentials and fields of a detector setup, the results shou
77
One easy way to do this is using [JLD2.jl](https://github.com/JuliaIO/JLD2.jl) and [FileIO.jl](https://github.com/JuliaIO/FileIO.jl).
88

99
Simulation results can be saved to a JLD file using `FileIO.save`:
10-
```yaml
10+
```julia
1111
using SolidStateDetectors
1212
sim = Simulation("<config-file-name>")
1313
# ...
@@ -17,7 +17,7 @@ FileIO.save("<name-of-simulation-file>.jld", Dict("Simulation" => sim))
1717
```
1818

1919
It can be read back in using `FileIO.load`:
20-
```yaml
20+
```julia
2121
using FileIO
2222
sim = FileIO.load("<name-of-simulation.file>.jld", "Simulation")
2323
```

0 commit comments

Comments
 (0)