JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
821 stars 94 forks source link

[FR] Would it be useful to allow Julia code run in `shell` and `Pkg` mode? #460

Closed einzigsue closed 2 years ago

einzigsue commented 2 years ago

Would it be useful to allow Julia code run in shell and Pkg mode? Hi @pfitzseb

Would it be useful to allow julia markdown code blocks that run in shell and Pkg mode?

For example, allow section like below to run status in the package manager

] st

and to execute command such as pwd in shell mode

; pwd

Cheers, Yue

pfitzseb commented 2 years ago

The issue with this approach is that it generates files that are specific to the extension -- you can't just include them.