用于将文件包含在块代码中的pandoc过滤器
pandoc-codeblock-include的Python项目详细描述
许可证图标,按Daniel Bruce,格式 图标依据 Picol, 状态图标由Just Icon
pandoc codeblock include是一个pandoc过滤器 用于在CodeBlock元素中包含文件。
文档
请参阅wiki pages。
用法
要应用过滤器,请对pandoc使用以下选项:
--filter pandoc-codeblock-include
安装
pandoc代码块include需要python, 一种预先安装在Linux和MacOSX上的编程语言, 而且很容易安装on Windows。或者是Python2.7 或者3.x就行了。
使用bash命令将pandoc codeblock include安装为根目录
pip install pandoc-codeblock-include
要升级到最新版本,请使用
pip install --upgrade pandoc-codeblock-include
要升级到当前代码,请使用
pip install --upgrade --force git+https://github.com/chdemko/pandoc-codeblock-include
pip是从python下载和安装模块的脚本 包索引,PyPI。它应该安装 使用python发行版。如果您运行的是Linux,pip可能是 单独捆绑。在基于debian的系统(包括ubuntu)上,您可以 使用
apt-get update apt-get install python-pip
获取帮助
如果您对pandoc codeblock include有任何困难,请 欢迎来到file an issueon 所以我们可以帮忙。