Categories > Your tips & tricks >

Easier Text Templates with TBS 3.1

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Skrol29
Date: 2006-06-22
Time: 01:35

Easier Text Templates with TBS 3.1

The new feature "block=_" enables you to work much more easier with text templates.

Before this feature, you had to manage line breaks by placing block's bound tags strategically. Like this:
[b1;block=begin]
*Name: [b1.name] [b1;block=end]

Now you can define it with a clearer template:
*Name: [b1.name;block=_]

The old way to have a block with several lines:
[b1;block=begin]
--------
*Name: [b1.name]
*Email: [b1.email] [b1;block=end]

Now you can use "comm=_" in order to enlarge the TBS tag to the texte line. Thus the line can be more readable. Example :
   ==== [b1;block=begin;comm=_] ====
--------
*Name: [b1.name]
*Email: [b1.email] [b1;block=end]
   ==== [b1;block=end;comm=_] ====