|
ReverseHeadings<< Mail Form | Cookbook-V1 | Extended Wiki Styles CSS1 >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
See Cookbook.ReverseHeadings. --Pm 2004-12-10
QuestionHow can I change PmWiki's interpretation of the ! (heading) markup, so that more !'s result in larger headings? AnswerAdd the following to a local customization file: $DoubleBrackets['/^(!{1,6})/e'] =
'substr("!!!!!!!",strlen("$1"))';
Contributors
NotesThis page has the ReverseHeadings recipe applied, so that more !'s result in larger headings.
!one bang
!!two bangs
!!!three bangs
results in one bangtwo bangsthree bangspmwiki-2.2.0-beta68 -- Last modified by {{Pm}}
|