From 18e019ed34db566ca801b3d579f2c83bf1f7da51 Mon Sep 17 00:00:00 2001 From: KristofferC Date: Thu, 21 Nov 2019 13:14:43 +0100 Subject: [PATCH] add an example of semicolon supression --- examples/example.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/example.jl b/examples/example.jl index 13414aa..bf6eef7 100644 --- a/examples/example.jl +++ b/examples/example.jl @@ -71,6 +71,9 @@ end 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 # where we generate a simple plot using the # [Plots.jl](https://github.com/JuliaPlots/Plots.jl) package