Feature Proposal: Relative Heading Levels for SEARCH
Motivation
Same has been done already for INCLUDE,
RelativeHeadingLevelsforINCLUDE. Also proposed in
AllowIncludeOrSearchToChangeHeaderLevels.
Description and Documentation
Add this in
VarSEARCH:
| Parameter: |
Description: |
Default: |
headingoffset="2" |
Adjust the level of headings in text of topics found, taking effect in $text and $pattern() of a FormattedSearch. A "2" or "+2" increases the level by two, e.g. a ---+ H1 turns into a ---+++ H3. Positive and negative values are supported. Adjusted min and max levels are H1 and H6, respectively. |
no adjustment |
Examples
Impact
Implementation
--
Contributors: PeterThoeny - 2010-07-29
Discussion
This is now implemented and documented in
SVN trunk.
--
PeterThoeny - 2010-08-21