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.1.tar.gz
.
File metadata
- Download URL: mau-4.0.1.tar.gz
- Upload date:
- Size: 86.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2830b08655e77548d6fa456124e0202a38b0acc6cc3e7eed22a3e89dafe6dcdd |
|
MD5 | 9fa4c9e693f218e7cd8c0308e70b1758 |
|
BLAKE2b-256 | 9941b19e727aa60c97db9ae8499a75416c17a7cc7798f9f4aa318aa52d35cfe3 |
File details
Details for the file mau-4.0.1-py3-none-any.whl
.
File metadata
- Download URL: mau-4.0.1-py3-none-any.whl
- Upload date:
- Size: 51.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b20ccfe7afb5e8eb8aad543e9003992dfaeef665505285a906ced79325b436a |
|
MD5 | 5cff58b793a714d1818a7e0a9ef9f84e |
|
BLAKE2b-256 | 50d0eb57bf21ce07e1ae8d558e19c6149179d3d56e1365fd293581976b12a7c1 |