The markdown alternative that agents (and humans) love.
Project description
lessmark
The markdown alternative that agents (and humans) love.
Python parser, validator, formatter, Markdown converter, and CLI for the Lessmark language.
from lessmark import parse_lessmark, validate_source, format_lessmark
ast = parse_lessmark("# Notes\n\nPlain prose becomes a paragraph.\n")
errors = validate_source("# Notes\n")
formatted = format_lessmark("Typed context.\n")
lessmark parse file.lmk
lessmark parse --positions file.lmk
lessmark parse -
lessmark check file.lmk
lessmark check docs
lessmark check --json file.lmk
lessmark format file.lmk
lessmark format --check --json docs
lessmark fix --write docs
lessmark from-markdown README.md
lessmark from-markdown -
lessmark to-markdown file.lmk
lessmark to-markdown -
lessmark init docs
lessmark info --json
Use - for stdin. check, format --check, and fix --write also accept directories. parse --positions includes source ranges. init creates a starter docs/index.lmk without overwriting.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lessmark-0.1.6.tar.gz.
File metadata
- Download URL: lessmark-0.1.6.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14343f7aae674d9a015362a7b475085848a1a700891b7c5bd82714933fbaad44
|
|
| MD5 |
5d34f54833b87965adabd6651c83809a
|
|
| BLAKE2b-256 |
2f776f8cddf8f776918927f780f70d926c2813053792ce454499039c4fc119b5
|
File details
Details for the file lessmark-0.1.6-py3-none-any.whl.
File metadata
- Download URL: lessmark-0.1.6-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0992e04bf89f85589a392887b62f321a82b42fe91d0b375cc89cba0dcf479c7
|
|
| MD5 |
5005a516e3cdcd4ce58e1185dd45afe9
|
|
| BLAKE2b-256 |
4117b8e98f3e899db4dc26e5e6c0eec0cc75133954fb2f6172cc1c8d4fcc0e1f
|