文件名称:mrkd:使用Markdown编写手册页,并将其转换为Roff或HTML
文件大小:7KB
文件格式:ZIP
更新时间:2024-03-12 21:05:48
Python
rk 使用Markdown编写手册页,然后将其转换为Roff或HTML。 安装 $ pip install mrkd 用法 $ mrkd my-file.1.md my-file.1 语法是mrkd [options...] input-file output-file 。 尽管您可以分别使用-name my-name和-section my-section覆盖它们,但是名称和节号将自动从输入文件派生。 使用-format html将格式更改为HTML: $ mrkd my-file.1.md -format html my-file.1.html 您可以使用-template覆盖HTML模板(有关示例,请参见template.html )。 为了设置HTML链接,您可以像这样设置索引文件: [Index] my-page(1)=my-page.1.html 然后,当您在Mar
【文件预览】:
mrkd-master
----MANIFEST.in(25B)
----mrkd.py(8KB)
----template.html(2KB)
----requirements.txt(45B)
----LICENSE(1KB)
----test()
--------test.1.md(505B)
--------index.ini(75B)
----setup.py(716B)
----README.md(1KB)
----.gitignore(40B)