Browse Source

add an example of semicolon supression

pull/82/head
KristofferC 6 years ago
parent
commit
18e019ed34
  1. 3
      examples/example.jl

3
examples/example.jl

@ -71,6 +71,9 @@ end
foo() foo()
# Just like in the REPL, outputs ending with a semicolon hide the output:
1 + 1;
# Both Documenter's `@example` block and notebooks can display images. Here is an example # Both Documenter's `@example` block and notebooks can display images. Here is an example
# where we generate a simple plot using the # where we generate a simple plot using the
# [Plots.jl](https://github.com/JuliaPlots/Plots.jl) package # [Plots.jl](https://github.com/JuliaPlots/Plots.jl) package

Loading…
Cancel
Save