使用HTTP服务器托管您的markdown文件,以便在编辑时查看其渲染效果。
项目描述
Markdown-live
只需在命令行中运行一个Web服务器,即可将您的markdown文件实时转换为HTML。
安装
pip install markdown-live
应该可以正常工作。它与python 2.7和python 3.4+兼容。
使用方法
安装markdown-live将安装markdown_live
可执行文件,可以使用如下方式使用它
usage: markdown_live [-h] [-p PORT] [-v] [LOCATION]
Render markdown files and serve them with an http server.
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT Serve on this port instead of the default (port 8000)
-v, --version Just print out the version number
LOCATION either a markdown file to just render that
file, or a directory to server files from that
directory
Pypi
该软件包目前可在pypi 此处 获取。
项目详情
下载文件
下载适合您平台的项目文件。如果您不确定要选择哪一个,请了解更多关于 安装软件包 的信息。
源代码分发
markdown-live-1.1.0.tar.gz (8.3 kB 查看散列值)