Subject: | wish: support for tables |
Thanks for this module. It appeals to me as someone who would like to
write a compact notation in my text editor and produce HTML pages.
I'd like to see support for HTML tables added. It seems at a minimum
this means adding a notation which means "This YAML structure is an HTML
table" and possibly one which means "this is a header row".
As long as the result serializes into an array of arrays, or array of
hashrefs, it seems it should work out. Here's an example structure I
have in mind:
-
name: Player Name
hr: Home Runs
avg: Average
-
name: Mark McGwire
hr: 65
avg: 0.278
-
name: Sammy Sosa
hr: 63
avg: 0.288
Then, one of the existing tools to serialize YAML to Perl could be used,
and the table could be produced readily with HTML::Table.
http://search.cpan.org/~ajpeacock/HTML-Table-2.04a/Table.pm
Mark