markdown-checklist:带有复选框的任务列表的Python Markdown扩展

时间:2021-05-15 01:35:16
【文件属性】:
文件名称:markdown-checklist:带有复选框的任务列表的Python Markdown扩展
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-15 01:35:16
Python 一个扩展,用于带有复选框的任务列表 受启发: * [ ] foo * [x] bar * [ ] baz 变成
  • <input type="checkbox" disabled> foo
  • <input type="checkbox" disabled checked> bar
  • <input type="checkbox" disabled> baz
列表项可以使用破折号而不是星号 接受大写和小写的“ x”以激活复选框 安装 $ pip install markdown-checklist 用法 import markdown html = markdown.markdown(source, extensions=['markdown_checklist.extension']) 或者 import markd
【文件预览】:
markdown-checklist-master
----MANIFEST.in(99B)
----.travis.yml(366B)
----test()
--------test_customization.py(1KB)
--------__init__.py(0B)
--------test_main.py(2KB)
----LICENSE(1KB)
----README(2KB)
----markdown_checklist()
--------__init__.py(2KB)
--------checklists.js(2KB)
--------extension.py(2KB)
----setup.py(1KB)
----.gitignore(6B)
----Makefile(2KB)
----README.md(6B)
----.editorconfig(267B)

网友评论