Feature request: Force execution of all code cells without adding .cb-run
and .cb-nb
#59
Labels
enhancement
New feature or request
.cb-run
and .cb-nb
#59
Hi,
it would be handy to have a command-line option that automatically adds either
.cb-run
or
.cb-run
and.cb-nb
or the respective behavior to all Python code block.
Motivation: I often create Python materials in Pandoc markdown and would want to produce a lecture note with the code snippets and their effects side-by-side. While I could manually add
{.python .cb-run .cb-nb}
to each code block, that seems like unnecessary redundancy. Before I start writing a custom Pandoc filter that adds.cb-run
and.cb-nb
to all code blocks in a Pandoc document, I wanted to check if there is another way with batteries supplied.Implementation: I would use a CLI option like
--runall
--runall python
--runall python,bash
The text was updated successfully, but these errors were encountered: