md 转 HTML 工具 pyMd2Doc

码农软件 · 软件分类 · 常用工具包 · 2019-08-12 16:58:46

软件介绍

1. pyMd2Doc介紹(pip版本)

利用python将markdown转换成带可收缩、可跳转到文本内容的目录文档。

2. 使用方法

该程序所需python环境为python3或以上。

2.1 准备Markdown文件

准备好需要转成文档的Markdown文件。

2.2 安装pyMd2Doc

pip install pyMd2Doc 安装程序

2.3 开始转换

①新建[yourFileName].py文件,准备所需要转换的markdown文件,如myMarkdown.md

②引入所需模块,调用函数并传入需要转换的markdown文件,如下示例:

#固定写法,需要引用pyMd2Doc的模块
from pymd2doc import createDoc

# 要转换的markdown文件,如myMarkdown.md
#双引号内为要转换的markdown文件名称
createDoc.create("myMarkdown")

③执行成功后会生成myMarkdown.html文件

本文地址:https://codercto.com/soft/d/12216.html

Dreamweaver CS3 Bible

Dreamweaver CS3 Bible

Joseph W. Lowery / Wiley / May 21, 2007 / $49.99

Book Description Learn to create dynamic, data-driven Web sites using the exciting enhancements in the Dreamweaver CS3 version. You get a thorough understanding of the basics and then progress to l......一起来看看 《Dreamweaver CS3 Bible》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具