Mallard in action
Here is a basic example of Mallard in action. Provided below is the raw Mallard markup for a topic page on planting beans and a screenshot of what that page looks like when displayed with Yelp on a Linux system.
Topic page XML
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="planting"> <title>Planting Beans</title> <p>By the end of this page, you will be able to plant your magic beans and nurture them into a bean sprout.</p> <steps> <item> <p>Dig a hole 5cm deep.</p> </item> <item> <p>Place your magic beans in the hole.</p> </item> <item> <p>Fill the hole with clean dirt and pat it level.</p> </item> <item> <p>Water daily.</p> </item> </steps> </page>