Skip to main content

Mau HTML Visitor

This is a plugin for the Mau markup language. The plugin provides the conversion from Mau source to HTML.

You can install this plugin with

pip install mau-html-visitor

and Mau will automatically be able to load it. To use the visitor you need to load it and to pass it to the class Mau when you instantiate it

from mau import Mau, load_visitors
from mau.message import LogMessageHandler

visitor_classes = load_visitors()

visitors = {i.format_code: i for i in visitor_classes.values()}
visitor_class = visitors["html"]

message_handler = LogMessageHandler()

mau = Mau(message_handler)

result = mau.process(visitor_class, text, "source.mau")

The default extension for templates is .html. The plugin uses Pygments to provide source code highlighting.

Release files for mau_html_visitor 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mau_html_visitor 3.0.0
File Size Uploaded
mau_html_visitor-3.0.0.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mau_html_visitor 3.0.0
File Interpreter ABI Platform
mau_html_visitor-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / mau_html_visitor-3.0.0.tar.gz

Download URL mau_html_visitor-3.0.0.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
44268de692d04fa57bf6da2d1e6ad44c0edd29b0882a00bc3c991f9c082e471b
BLAKE2b-256 checksum
How to use checksums
2833596e51425cc4f988ced0204578777a002f7c5d02319491121f793900b16b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / mau_html_visitor-3.0.0-py3-none-any.whl

Download URL mau_html_visitor-3.0.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d1b5c6c1cf9a04a5cab05530b5e0d7d335a18ef65484ef52ec906047cff3890
BLAKE2b-256 checksum
How to use checksums
dac709e68188f250f9d07200d6f0520b65b7159480fc7a649af54f60602921bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page