pandoc-source-exec 0.2.2

Last updated:

0 purchases

pandoc-source-exec 0.2.2 Image
pandoc-source-exec 0.2.2 Images
Add to Cart

Description:

pandocsourceexec 0.2.2

pandoc-source-exec is a panflute pandoc filter.
It executes code annotated code blocks with the proper executables and
adds the output below. Example:
```{ .python .exec }
print('Hello World')
```
The above can be compiled like this:
example.pdf: example.md example.py
pandoc --filter pandoc-source-exec -o $@ $<
The resulting output will include Hello World after the code block.
pandoc-source-exec offers many other features, including tikz plots,
proper figures and code listings as well as including files as code.
For more examples check the example files.

Installation
Just use pip to install it from pypi
pip install pandoc-source-exec


Future

Execute code other than python
Refactor interactive execution, build REPL wrappers.
Allow configurable pre- and postfixes for the output

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.