Unidok
A powerful, readable, easy-to-learn markup language
Unidok is a new Markup language, inspired by AsciiDoctor and Markdown. It is very easy to read and to learn while offering powerful features such as macros.
| Check out the website! |
Installation
Installation currently requires that you have the Rust toolchain installed (Rust Beta/1.53 or higher, including Cargo).
Clone the repository and run cargo install.
Principles
Unidok should look familiar if you're familiar with Markdown. It follows the CommonMark specification closely where it makes sense, but it also omits some Markdown features that I feel are unhelpful, and adds new features. Notable examples are:
-
Supports
^superscript^,#subscript#,~line-through~text, tables, math formulas, and macros -
Does not support indented code blocks, only fenced code blocks
-
Sane HTML parsing
-
It does not support laziness, i.e. in a list item or blockquote, all lines must be indented or preceded with
>respectively, not just the first line
Roadmap
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.