Skip to main content

A lightweight markup language

Project description

Mau

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 successfully used it to transpile my book "Clean Architectures in Python" from Mau to Asciidoctor, as Mau is not ready to be used in my workflow yet (it can't create PDFs, for example).

Quick start

To install Mau use pip

pip install mau

To convert Mau sources into HTML just run

mau -i source.mau -o destination.html -f html

To use Mau in your tool you can run it programmatically

from mau import Mau

mau = Mau(target_format="html")

mau.process(text)

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

This project has been set up using PyScaffold 3.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mau-1.3.0.tar.gz (54.6 kB view details)

Uploaded Source

Built Distribution

mau-1.3.0-py2.py3-none-any.whl (29.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mau-1.3.0.tar.gz.

File metadata

  • Download URL: mau-1.3.0.tar.gz
  • Upload date:
  • Size: 54.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5

File hashes

Hashes for mau-1.3.0.tar.gz
Algorithm Hash digest
SHA256 27b70220bd69af67f4c8c6f53d3cc249e654e220c5a1d5059838edad42d0f686
MD5 1f6940a80be767c40d2fcadfa0790e9b
BLAKE2b-256 613e03cc31509a3cf500e8a8cb67eaef2324c91cafa84c17f07c8b90f1259f0f

See more details on using hashes here.

File details

Details for the file mau-1.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mau-1.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5

File hashes

Hashes for mau-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0713ca2063aa7c41d675381eb9cef61c44fb51f5c4e2f6d7ceac03dd36c04450
MD5 7629b54b0931372fcf8d32bf1a5fed69
BLAKE2b-256 a45b40938105fb760ac284a7239b8a07720dcef3699ff30be98f3ced13dc91a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page