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.
Release files for lessmark 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lessmark-0.1.6.tar.gz | 32.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lessmark-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.7 kB
Release files / lessmark-0.1.6.tar.gz
| Download URL | lessmark-0.1.6.tar.gz |
|---|---|
| Size | 32.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14343f7aae674d9a015362a7b475085848a1a700891b7c5bd82714933fbaad44
|
|
BLAKE2b-256 checksum How to use checksums |
2f776f8cddf8f776918927f780f70d926c2813053792ce454499039c4fc119b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / lessmark-0.1.6-py3-none-any.whl
| Download URL | lessmark-0.1.6-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0992e04bf89f85589a392887b62f321a82b42fe91d0b375cc89cba0dcf479c7
|
|
BLAKE2b-256 checksum How to use checksums |
4117b8e98f3e899db4dc26e5e6c0eec0cc75133954fb2f6172cc1c8d4fcc0e1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|