Julia + Weave.jl + hugo test

By: Julia on Tamás K. Papp's blog

Re-posted from: http://tpapp.github.io/post/hugo-julia-weave/

Testing the Hugo formatter for Weave.jl.

Testing inline code: 1+1=2.

Testing math:
$$x^2+y^2 = \int_0^1 f(z) dz$$

Testing code:

1+1
2

Testing proper highlighting:

function foo(x, y)
    x+y
end

A plot:

x = 1:10
y = x.^2
scatter(x, y, legend = false)

Caption for this plot