[pmwiki-users] Overwriting <h1> headline markup
Johannes Langlotz
johannes at webminster.org
Sun Apr 26 10:25:39 CDT 2009
I want to change the HTML output of <h1> headlines. "! Headline"
currently creates "<h1>Headline</h1>". I want it to create something
like <h1>Headline<div>additional info</div></h1> where "additional info"
is the content of a wiki page. I tried this:
Markup('<h1>!', '<^!',
'/^!{1}\\s?(.*)$/e',
"'<:block,1><h1>'.PSS('$1').'<div>'.PRR(IncludeText(\$pagename,
'Site.HeadlineInfo')).'</div></h1>'");
But this rule seems to be applied to all headlines. How can I restrict
it to the main ("!") headline?
Cheers, Johannes
More information about the pmwiki-users
mailing list