By: Tamás K. Papp
Re-posted from: https://tamaspapp.eu/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)