Microformats

Microformats add meaning to HTML with class and rel values. A root class h-* marks an object; property prefixes tell parsers how to read values: p- text, u- URL, dt- date/time, e- embedded HTML. Parsers emit JSON (items, rels, rel-urls), so the page doubles as an API.

Outputs below come from microformats-parser 67 (https://github.com/microformats/microformats-parser 67 ) (MIT, npm 2,036 install microformats-parser) via mf2(html, { baseUrl: 'https://example.com/' }), showing items[0], wrapped.

Subsections