IkiWiki::Plugin::h1title3pm
Usage
If there is a level 1 Markdown atx-style (hash mark) header on the first line, this plugin uses it to set the page title and removes it from the page body so that it won't be rendered twice. Level 1 headers in the remainder of the page will be ignored.
For example, the following page will have title "My Title" and the rendered page body will begin with the level two header "Introduction."
# My Title## IntroductionIntroductory text with a list:* Item 1* Item 2## Second headerSecond section
This plugin can be used with page templates that use <h1> tags for the page title to produce a consistent header hierarchy in rendered pages while keeping the Markdown source clean and free of meta directives.