Literate.jl
Literate.jl copied to clipboard
Simple package for literate programming in Julia
In a multiline string a `#` shouldn't do anything. E.g. this errors: ``` """ A fn # Example An ex. """ f(x) = 1 ``` with `ERROR: LoadError: LoadError: syntax:...
I'm currently setup to convert a .jl script to markdown using `Literate.markdown` for inclusion as generated pages in Documenter. But the captured output gives the figures a random number name...
Hi, as always, thanks for the great work! This is just a proposal for an alternative syntax for julia comments in code blocks. The usual style is `## comment` and...
Currently, suppose I have a file like ```julia function foo(x) error("error on line $(@__LINE__)") end #- foo(42) ``` I get an error which does not actually show a stacktrace of...
VS code uses 2#'s at the beginning of the line to indicate the start of a cell. Literate interprets this to leave behind a comment. Could this be accommodated somehow?...
multiline comments `#= ... =#` or the markdown strings of #152 don't allow to set filtering tagags for the whole block. It would be nice to add some support, e.g....
I love the ability to execute code blocks and show the results in markdown. However, when showcasing a large API, having two boxes for each expression starts to take up...
https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/pull/303#discussion_r660668353
I've been writing some examples as jupyter notebooks, saved using jupytext as .jl files. I find it helpful to write equations in the jupyter notebook to get instant rendering -...
Just so this (from Julia Discourse) does not get lost: have you considered adding an `unliterate()`?