https://github.com/ubavic/mint
MINT Is Not TeX
https://github.com/ubavic/mint
documents latex markup-converter markup-language
Last synced: about 2 months ago
JSON representation
MINT Is Not TeX
- Host: GitHub
- URL: https://github.com/ubavic/mint
- Owner: ubavic
- License: mit
- Created: 2024-07-03T21:28:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-05-09T08:38:42.000Z (2 months ago)
- Last Synced: 2026-05-09T10:35:41.375Z (2 months ago)
- Topics: documents, latex, markup-converter, markup-language
- Language: Go
- Homepage: https://mint.ubavic.rs
- Size: 72.3 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MINT
MINT is a document markup language designed to be extensible and informative for humans.
Like in LaTeX, grouping of text in Mint is done using braces. However, unlike TeX, the special character in Mint is not `\` but `@`. Therefore, every command starts with `@` (e.g., `@title`, `@bold`...).
Mint doesn’t have any predefined commands (the escape sequences `@@`, `@{`, and `@}` only resemble commands). Even basic document commands like those for paragraphs, titles, or text decorations are not predefined. All commands must be defined by the user in a YAML schema file.
## Usage
You have to provide path to `.mint` file and `.yaml` schema:
```
mint -in INPUT_FILE -schema SCHEMA_FILE [-target TARGET] [-out OUTPUT_FILE]
```
## TODO
Mint is still in the early development phase. Below is a list of features that may be developed in the future:
- Parameter typing
- Command parameters
- Begin/end commands
- More optimized tokenizer/parser/writer
- Stable API
- Language server and extensions for editors
- Schema written in MINT
## License
The code is released under the [MIT license](LICENSE).