We can enable caching for bash chunks.
The idea would be:
- if
cache=true
- hash the content of the chunk
- get the folder in which it executed and create a tar archive
- when encountering a same chunk having a similar hash
- restore the archive in the directory before executing the chunk
options with wget can then be used to ignore already downloaded files
cache directory can be in ~/.cache/markdown-runner
We can enable caching for bash chunks.
The idea would be:
cache=trueoptions with wget can then be used to ignore already downloaded files
cache directory can be in
~/.cache/markdown-runner