Tags:
create new tag
view all tags

Question

[All, Sorry, but I'm a newbie to TWiki. I do know we're running Dakar(4.0.1?) but don't know how to determine the full $VERSION, $RELEASE, Plugins, etc, info of our TWiki install that you request(tips appreciated).]

Question: Is there a way to introduce into the TML text formatting language some syntax that would indent a given line by a certain number of white spaces in the final screen output? Ideally (just as * means "bold") something like > as a leading char on a line might make said line be indented by some amount of white space. The more > chars, the more white space indenting.

[I'm familiar w/ pre, verbatim and blockquote in HTML, but our goal is to have some TML syntax that would do this on a per line basis.]

Any tips appreciated.

Jim

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat 3.4.3-22
Web server: Apache 1.3.33
Perl version: 5.8.5
Client OS: Windows XP
Web Browser: Mozilla Firefox 1.5.0.4
Categories: Missing functionality

-- JimJeffries - 28 Jun 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You can look in your TWiki.WebHome topic for the exact version number. A list of installed plugins can be found in your TWiki.InstalledPlugins topic.

As for white space, I'm not aware of a TML solution. I have used the <ul> and </ul> HTML tags for some indentation, however this is a hack and most likely not valid HTML smile I am interested in hearing if there is a TML solution or if there is a proposed one. This is not an uncommon question.

-- JasonHill - 29 Jun 2006

Layout / indenting is best done using css (you can combine with using TWikiVariables in Main.TWikiPreferences to produce your own TML variables for this).

If you must be "brutal" about it, you could do something like this:

   * Set W = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   * Set WW = %W%%W%

%W%This is indented

%WW%This is double indented

  • Set W =        
  • Set WW =               

       This is indented

              This is double indented

Of course, this will not work with lines breaking into two (paragraphs).

-- SteffenPoulsen - 29 Jun 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-06-29 - SteffenPoulsen
 
  • 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.