DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:html5

html5 Plugin

Compatible with DokuWiki

2009-12-25

plugin Renderer which adds <section>s and changes all headings to <h1>s

Last updated on
2010-01-09
Provides
Render

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with html5

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.

Syntax and Usage

Go to the Configuration Manager and select “HTML5 (plugin)“ for the main renderer.

Discussion

After the plugin is installed, what is the proper syntax to render the html5? - Adam Molner 4/20/2015 12:42 p.m EST

There is no syntax, this is a render plugin, it should work automatically after you've selected “HTML5 (plugin)” for the renderer_xhtml config option. But there is a bug in the plugin. The getFormat() method needs to return xhtml (and not html5). After changing that it worked for me. — Anika HenkeAnika Henke
ach

2015-04-26 14:25

Misleading name and description

I find the name and description of this plugin very misleading. The only thing this plugin does is substituting the section <div>s with <section>s (and creating invalid HTML in the process due to mismatched number of elements) and changing all headings to <h1>s. That's about 0.01% of what HTML5 is about and not necessarily what you would want… — Anika HenkeAnika Henke
ach

2015-04-26 13:40

I now changed the original description (“HTML 5 Renderer”) to something more descriptive. — Anika HenkeAnika Henke
ach

2015-04-26 14:41
plugin/html5.txt · Last modified: 2016-01-26 17:13 by Aleksandr