Mau - A template-based markup language
Images
Strange images appeared and vanished, flickering at the extreme limits of visibility - vast faces, enormous hands, and things Garion could not name. The turret itself trembled as the two dreadful old men ripped open the fabric of reality itself to grasp weapons of imagination or delusion.
David Eddings, Magician's Gambit (1983)
You can include images in Mau documents, both as stand-alone elements and inline, mixed with text.
Stand-alone images¶
Images can be included in the document with the command <<
<< image:https://via.placeholder.com/150
You can add a caption to the image using a title
. This is the caption
<< image:https://via.placeholder.com/150
<div class="imageblock">
<div class="content">
<img src="https://via.placeholder.com/150"/>
<div class="title">This is the caption</div>
</div>
</div>
You can also specify the alternate text with the attribute alt_text
[alt_text="Description of the image"]
<< image:https://via.placeholder.com/150
<div class="imageblock">
<div class="content">
<img src="https://via.placeholder.com/150" alt="Description of the image"/>
</div>
</div>
Inline images¶
Images can be added inline with the macro image
This is a paragraph with an image [image](https://via.placeholder.com/30,alt_text="A placeholder")
This is a paragraph with an image