Custom processing
It is possible to give Literate custom pre- and post-processing functions. For example, here we insert a placeholder value
y = 321in the source, and use a preprocessing function that replaces it withy = 321in the rendered output.x = 123123In this case the preprocessing function is defined by
function pre(s::String) +plot(x, [y1, y2])Custom processing
It is possible to give Literate custom pre- and post-processing functions. For example, here we insert a placeholder value
y = 321in the source, and use a preprocessing function that replaces it withy = 321in the rendered output.x = 123123In this case the preprocessing function is defined by
function pre(s::String) s = replace(s, "x = 123" => "y = 321") return s endpre (generic function with 1 method)Documenter.jl interaction
In the source file it is possible to use Documenter.jl style references, such as
@refand@id. These will be filtered out in the notebook output. For example, here is a link, but it is only visible as a link if you are reading the markdown output. We can also use equations:\[\int_\Omega \nabla v \cdot \nabla u\ \mathrm{d}\Omega = \int_\Omega v f\ \mathrm{d}\Omega\]
using Documenters math syntax. Documenters syntax is automatically changed to
\begin{equation} ... \end{equation}in the notebook output to display correctly.This page was generated using Literate.jl.
Settings
This document was generated with Documenter.jl version 1.3.0 on Sunday 14 April 2024. Using Julia version 1.10.2.