THIS REPO HAS MOVED TO CODEBERG
A markup parser for blog-style documents.
- Promote ADA Compliance
Ensure the AST is flexible enough such that any downstream renderer can maintain compliance and function properly with assistive technoloy like screen readers.
- Helpful errors (TODO)
Because the parser enforces rigid rules, it should give the user helpful error information.
- Friendly to Vim/Emacs-like editors
When wrapping content, use single characters to support "surround" commands/actions.
Documents accepted by this parser are probably not optimal for large-scale storage, mainly because of the formatting rules it enforces. For instance, block code must be indented which incurs wasteful bytes. Thankfully, that is not the goal of this project.
| delimiter | modification |
|---|---|
* |
bold |
/ |
italic |
_ |
underline |
~ |
|
` |
code |
To escape any character (except EOF), use \.
Hoping to get some examples up here soon.