Content last modified Monday 6 March 2017
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 2 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


This plugin is useful if you want to ensure that the headings marked up with Textile inside an article body are all subheadings of the article title.

For example, your template might define the article title as an <h3> heading. If the author of the article used Textile h1. or h2. headings, these would then break the hierarchy of heading levels. Presumably you would want the first subheading in the article body to be h4. so that it is a proper subheading of the article title <h3>.

img_rebase_headings looks to see what is the top-level heading used in the article and adjusts all of the headings and subheadings found so that the top-level heading used matches the desired base level.


<txp:img_rebase_headings base="4"><txp:body /></txp:img_rebase_headings>

Article Request Count:
Initially released:
05 May 2008
Posted here:
05 May 2008
Article modified:
05 May 2008

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Commenting is closed for this article.

Commented (1)


Excellent! Very usefull!

Thanks lot.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.




There are also tag clouds, 'cause those are fun.
Published with Textpattern