A lightweight template-driven markup language
Project description
Mau v4
Mau is a lightweight markup language heavily inspired by AsciiDoc, Asciidoctor and Markdown.
As I wasn't satisfied by the results I got with those tools I decided to try to write my own language and the tool to render it.
I am currently using Mau to render posts on my blog The Digital Cat and the online version of my book "Clean Architectures in Python". I also used it to transpile the code of the book to Markua, to be able to publish the book on Leanpub using their toolchain.
Quick start
To install Mau use pip
pip install mau
Then install at least one visitor plugin. You probably want to start with mau-html-visitor
pip install mau-html-visitor
To convert Mau sources into HTML just run
mau -i source.mau -o destination.html -f html
Check out Mau documentation for further information.
Pelican plugin
There is a Pelican plugin that enables you to use Mau in your blog. Check it at https://github.com/pelican-plugins/mau-reader.
Support
You may report bugs or missing features use the issues page. If you want to ask for help or discuss ideas use the discussions page
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file mau-4.0.0.tar.gz
.
File metadata
- Download URL: mau-4.0.0.tar.gz
- Upload date:
- Size: 75.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd21c19be4ee0fbca45bf69a95a1a3d1e4472b2f5a45ef507bd8ddf46e54796 |
|
MD5 | 75cc3f67b4516b8fa5d4c995449162e2 |
|
BLAKE2b-256 | 7c95e3866333ace76ce0bc74da9f5e93ef001a9290dc46a07f87ffeb53087782 |
File details
Details for the file mau-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: mau-4.0.0-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4d990f61854f5e3f1ddbb3690254db580d1f8d37e0ede9175dd4d4a64c2d7d |
|
MD5 | 4bb7c84097d6f2a4de1a556501944d83 |
|
BLAKE2b-256 | 610d37c9b093cd99e71518d884f9ef38bb6daa9ad1920adb36956bb0ad618f58 |