Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 843 Bytes

menu1.md

File metadata and controls

33 lines (21 loc) · 843 Bytes

+++ title = "Projects" hascode = true date = Date(2021, 3, 03) rss = "A short description of the Project page which would serve as blurb in a RSS feed." +++

Projects

\toc

Testing some cool Franklin features

If you would like to show code as well as what the code outputs, you only need to specify where the script corresponding to the code block will be saved.

Indeed, what happens is that the code block gets saved as a script which then gets executed. This also allows for that block to not be re-executed every time you change something else on the page.

Here's a simple example (change values in a to see the results being live updated):

using LinearAlgebra
a = [1, 2, 3, 3, 4, 5, 2, 2]
@show dot(a, a)
println(dot(a, a))

You can now show what this would look like:

\output{./exdot.jl}