First page
Live evaluation of code blocks
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.
CC BY-SA 4.0 Gaurav Joshi. Last modified: July 02, 2023. Website built with Franklin.jl and the Julia programming language.