NAME

Text::HyperScript::HTML5 - The shorthands for html5 tags by Text::HyperScript.

SYNOPSIS

use Text::HyperScript::HTML5 qw(p);

print p('hi,'), "\n";
# => "<p>hi,</p>\n"

SUPPORTED TAGS

html

base head link_ meta style title

body

address article aside footer header
h1 h2 h3 h4 h5 h6 main nav section

blockquote dd div dl dt figcaption figure
hr li menu ol p pre ul

a abbr b bdi bdo br cite code data em
i kbd mark q_ rp rt ruby s_ samp small
span strong sub_ sup time_ u var wbr

area audio img map_ track video

embed iframe object picture portal source

svg math

canvas noscript script

del ins

caption col colgroup table tbody td tfoot
th thead tr_

buttom datalist fieldset form input
label legend meter optgroup option
output progress select_ textarea

details dialog summary

slot template

GLOBAL VARIABLES

$Text::HyperScript::HTML5::h : CodeRef (default is \&Text::HyperScript::h)

This variable exists for replacing tag generator.

Default value is CodeRef of Text::HyperScript's h subroutine.

You could be replacing h subroutine to another ones by this variable.

NOTICE

Some shorthands have _ suffix.

This reason is prevent conflict to between of built-in subroutines.

LICENSE

Copyright (C) OKAMURA Naoki a.k.a nyarla.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

OKAMURA Naoki a.k.a nyarla: <nyarla@kalaclista.com>