1. Reference
  2. Layout

<ol>

An ordered list: each item gets its number, as in HTML.

Layout
ol.ham
<ol>
    <li>Preheat the oven to 200 °C.</li>
    <li>Whisk the eggs and sugar.</li>
    <li>Fold in the flour.</li>
    <li>Bake for 25 minutes.</li>
</ol>
The snippet drawn by Hype Apps on a phone, in light mode The snippet drawn by Hype Apps on a phone, in dark mode
This snippet as Hype Apps draws it on a phone. It follows this page's light or dark theme.

Attributes

NameWhat it doesDefault
style Style classes
string

Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.

This page is also Markdown, and all of HAM is in llms.txt.