A pandoc filter for including file in block code
Project description
pandoc-codeblock-include
license icon by Daniel Bruce, format icon by Picol, status icon by Just Icon, code style icon by Google Material Design icons
pandoc-codeblock-include is a pandoc filter for including files in CodeBlock
elements.
Documentation
See the wiki pages.
Usage
To apply the filter, use the following option with pandoc:
--filter pandoc-codeblock-include
Installation
pandoc-codeblock-include requires python, a programming language that comes pre-installed on linux and Mac OS X, and which is easily installed on Windows. Either python 2.7 or 3.x will do.
Install pandoc-codeblock-include as root using the bash command
pip install pandoc-codeblock-include
To upgrade to the most recent release, use
pip install --upgrade pandoc-codeblock-include
To upgrade to the current code, use
pip install --upgrade --force git+https://github.com/chdemko/pandoc-codeblock-include
pip
is a script that downloads and installs modules from the Python Package Index, PyPI. It should come installed with your python distribution. If you are running linux, pip
may be bundled separately. On a Debian-based system (including Ubuntu), you can install it as root using
apt-get update
apt-get install python-pip
Getting Help
If you have any difficulties with pandoc-codeblock-include, please feel welcome to file an issue on github so that we can help.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pandoc-codeblock-include-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74cc84af2d166ebe33d60a50e103637b6750f6242892586aa32dbcbd467f4118 |
|
MD5 | a6be25527c5b84556e9bf50e0f656b25 |
|
BLAKE2b-256 | 1934ee9d8420a590a4b12d5095f9cfd53d8acedf0e3a3f7cf04a7da7c52c163f |
Hashes for pandoc_codeblock_include-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d16e46ff6944af30634cab79cf4dff3c3030347ad388237cdd8e9a0d30a3f92 |
|
MD5 | d2591262e9a8ef0197562b8a6421d394 |
|
BLAKE2b-256 | f2375f8c9864e64c82b6e8f3e9cde8c3675d330864901ba9ff56dc28d31c3c26 |