Tags:
create new tag
view all tags
TWiki understands already some text formatting as described in the TextFormattingRules.

We could enhance the rules to allow more structured text. The goal is to keep it as simple and intuitive as possible. New users can use just a subset, power users can use some more advanced rules.

Proposed new rules:

What: Text Entered: Generated HTML Code: Rendered as:
Header 1..6 *H2: Sushi* <h2>Sushi</h2>

Sushi

. *H4: San Jose* <h4>San Jose</h4>

San Jose

Anchor Ref [1] <a href="#1">[1]</a> [1]
Anchor Name [1] <a name="1">[1]</a> [1]
       
(What else?)      

Remarks:

  • Headers: So far asteriscs and undersores can be used to define "headers". This is in fact not on the document structure level, it just looks like headers.
  • Anchors:
    • The idea is to allow links within a page.
    • Only numbers within the square brackets are considered anchors.
    • A [1]..[n] written at the beginning of the line is considered an Anchor Name (jump target).
    • A [1]..[n] written not at the beginning of the line is considered an Anchor Ref (jump origin).

Comments?

-- PeterThoeny - 17 Aug 2000

Headers are further discussed in SectionTitles.

-- PeterThoeny - 12 Sep 2000

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2001-11-01 - MikeMannix
 
  • 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.