Tags:
create new tag
, view all tags

Question

Wiki Anchors (#WikiName) are only allowed at begining of a line. I suggest to release this restriction (maybe optionaly) because Wiki Anchors are very usefull in long tables, lists, etc...

I suggest to add anchors regex detection in TWiki.pm (~line 2046) :

# '#WikiName' anchors
            s/^(\#)($wikiWordRegex)/ '<a name="' . &makeAnchorName( $2 ) . '"><\/a>'/ge;
       # PN : allow anchors anywhere but begining with a white space or in a table
       <font color=red><i>s/ (\#)($wikiWordRegex)/ '<a name="' . &makeAnchorName( $2 ) . '"><\/a>'/ge;</i></font>

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: any
Web server: any
Perl version: any
Client OS: any
Web Browser: any

-- PatrickNomblot - 26 Aug 2003

Answer

See also FragmentIdentifierWikification

-- JonathanCline - 28 Aug 2003

Topic revision: r3 - 2004-01-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.