modules/pod/html.zzm

pod-parser-0.0.2 documentation

Package

Name
pod-parser
Version
0.0.2
Uploaded
2026-05-28 14:18:09
Dependencies
Metadata
zuzu-distribution.json
Archive
Download .tar.gz

NAME

pod/html - Render parsed POD documents as HTML.

SYNOPSIS

  from pod/parser import parse_pod;
  from pod/html import PodHTML;

  let doc := parse_pod("=head1 NAME\n\nExample\n\n=cut\n");
  say( ( new PodHTML() ).render(doc) );

DESCRIPTION

This pure-Zuzu module renders pod/parser PodDocument objects to HTML. It renders headings, paragraphs, verbatim blocks, lists, items, and HTML-targeted =for and =begin blocks.

EXPORTED CLASSES

  • PodHTML

    Renderer class with render and render_node methods.

COPYRIGHT AND LICENCE

pod/html is copyright Toby Inkster.

It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.