html2md:将 HTML 转换为 Markdown。 以和平的方式

时间:2021-06-23 18:18:36
【文件属性】:
文件名称:html2md:将 HTML 转换为 Markdown。 以和平的方式
文件大小:51KB
文件格式:ZIP
更新时间:2021-06-23 18:18:36
Python html2md html2md 是一个 Python 脚本,可将 HTML(完整或片段)转换为 。 html2md 的灵感来自 Aaron Swartz 的并且在不影响 Markdown 格式的情况下添加了对 HTML 页面中常见的缺失元素的支持。 用法 html2md.py [-h] [-a] [-f] [--fenced_code {github,php}] [-e ENCODING] [infile] Transform HTML file to Markdown positional arguments: infile optional arguments: -h, --help show this help message and exit -a, --attrs Enable elem
【文件预览】:
html2md-master
----setup.py(536B)
----.gitignore(15B)
----requirements.txt(21B)
----LICENSE.md(1KB)
----html2md.py(25KB)
----README.md(2KB)
----tests()
--------test_breaks.py(730B)
--------test_attributes.py(1KB)
--------test_pre.py(7KB)
--------test_purelists.py(2KB)
--------test.md(3KB)
--------test_lists.py(2KB)
--------test.txt(2KB)
--------__init__.py(0B)
--------test_spacing.py(2KB)
--------frag.html(7KB)
--------test_all.py(881B)
--------context.py(121B)
--------test_basic.py(3KB)
--------test_nestedelements.py(3KB)
--------test_footnotes.py(3KB)
--------test_unknownelements.py(5KB)
--------test_blockquote.py(3KB)
--------assertions.py(820B)
--------test_frag.py(2KB)
--------test_criticmarkup.py(2KB)
--------test_definitionlist.py(2KB)
--------full.html(6KB)
----BeautifulSoup.py(78KB)
----TODO.md(624B)
----tox.ini(43B)

网友评论