Convert [x]it! to markdown
Project description
xit2md
[x]it! is a plain-text file format for todos and check lists. xit2md converts a checklist in [x]it! format to markdown task lists. Markdown task lists are available in many markdown dialects including GitHub Flavored Markdown.
Installation
pip install xit2md
Usage
>>> from xit2md import xit2md_text
>>> xit = """Named Group
... [ ] Open
... [x] Checked
... [@] Ongoing
... [~] Obsolete
... """
>>> print(xit2md_text(xit, heading_level=2))
## Named Group
- [ ] Open
- [x] Checked
- [ ] Ongoing
- [x] ~Obsolete~
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xit2md-0.1.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
xit2md-0.1.0-py3-none-any.whl
(3.2 kB
view hashes)