xit2md 0.2.2
pip install xit2md
Latest version
Released:
Convert [x]it! to markdown
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: chris48s
- Requires: Python >=3.8
Classifiers
- License
- Programming Language
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
On the Console
# convert [x]it! file to markdown file
$ xit2md in.xit > out.md
# fetch [x]it! file from the web and convert to markdown
$ curl "https://myserver.com/example.xit" | xit2md
As a Library
>>> from xit2md import xit2md_text
>>> xit = """Named Group
... [ ] Open
... [x] Checked
... [@] Ongoing
... [~] Obsolete
... [?] In Question
... """
>>> print(xit2md_text(xit, heading_level=2))
## Named Group
- [ ] Open
- [x] Checked
- [ ] Ongoing
- [x] ~Obsolete~
- [ ] In Question
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: chris48s
- Requires: Python >=3.8
Classifiers
- License
- Programming Language
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xit2md-0.2.2.tar.gz
.
File metadata
- Download URL: xit2md-0.2.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fdf2b8ecba4b093eceb99b58cde6715f2e7d268cf19f49f262c93c1d31a693d |
|
MD5 | cc3c01ad94439477f52b204a0578b8e7 |
|
BLAKE2b-256 | 69316b21c9a97ecadb49aa4d255f2b66d4141abe3b45ed99d0c0fc5aa33bbf4b |
File details
Details for the file xit2md-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: xit2md-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 584f15719b86669e95709a8f974e43cddf2a3f2215e7fd9a639f435ac34c5259 |
|
MD5 | a873a3c898b5d9aa2ff5ef0d3b2b0acb |
|
BLAKE2b-256 | 2c4617be91e6ca965689a863559863f0fbe2a8c4e081e39f0d810ad400743d18 |