Tags:
create new tag
view all tags

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

WhatDoesItAffect: Rendering

Implementation

-- Contributors: PeterThoeny - 2010-07-29

Discussion

This is now implemented and documented in SVN trunk.

-- PeterThoeny - 2010-08-21

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2010-08-21 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.