You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was also looking for such an option, similar to what Weave provides with inline bode blocks (https://weavejl.mpastell.com/stable/usage/#inline-code). What you can do now is to use a postprocessing function that replaces the interpolation syntax with the value. However, you cannot directly access the global variables of your script, so you have to store them somewhere and read them back in in the postprocessing functions. I did this with a temporary YAML file. It was clunky at best 😉 Would be great to have a better, build-in solution.
It would be cool, if interpolation into md-strings worked. For example:
currently produces via
Literate.notebook("tmp.jl", execute=true, mdstrings=true)
I think it would be ok and best if interpolation only works with md-strings and not with general comments.
The text was updated successfully, but these errors were encountered: