IkiWik...1title(3pm)
β¨ NAME β¨
ikiwiki Plug-in: h1title π
(also known as IkiWik...1title(3pm), filed under User Contributed Perl Documentation, so you already know it's a community gem π«Ά)
πΈ SYNOPSIS πΈ
okay so bestie, here's the whole vibe: if the very first line of your page is a level 1 Markdown atx-style header β you know, the hash mark kind β this plugin grabs it, uses it to set the page title, and then yeets it out of the page body so it doesn't get rendered twice. no dupes, no drama. π
and the level 1 headers that show up anywhere else on the page? those get ignored. completely. they're not the main character here. π
so for example, this page right here will end up with the title My Title, and the rendered page body will start off with the level two header Introduction.:
# My Title
## Introduction
Introductory text with a list:
* Item 1
* Item 2
## Second header
Second section
and the tea on why you'd want this β β it plays super nice with page templates that use <h1> tags for the page title. so you get a consistent header hierarchy in your rendered pages, while keeping the Markdown source clean and free of meta directives. it's giving best of both worlds, fr fr. π¦
π AUTHOR π
Jason Blevins <jrblevin@sdf.lonestar.org>, β yes the comma is part of it, we respect the punctuation here π
π SEE ALSO π
- ikiwiki Homepage:
http://ikiwiki.info/ - ikiwiki Plugin Documentation:
http://ikiwiki.info/plugins/write/
go read them, iykyk πβ¨
π LICENSE π
Copyright (C) 2008 Jason Blevins
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
no cap, read the license fr β it's short, it's iconic, and it's literally the whole legal vibe of this thing π«‘
and that's the whole page, bestie!! this one shipped with perl v5.40.1 and got its lil timestamp on 2026-02-03 πβ¨ bye ily, go make some beautiful headers ππ¦
π¦ where this page comes from
- ubuntu resolute: ikiwiki 3.20260201-3 Β· GPL-2.0-or-later
- ubuntu stonking: ikiwiki 3.20260201-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms