> I don't want every colon/semicolon to be replaced with
> a line break and indent as the Definition list does:
> ; term
> : description
> becomes
> <b>term<b>
>               description
> I want colons and semicolons to be left alone.

Look for the "list" formatter.  It handles bullet lists (*), numbered
lists (#), and term/description lists (;/:).  You can replace the list
formatter's "match" and "lookahead" patterns to disable handling for
term/description syntax by creating a tiddler (e.g,
[[DisableDLFormatterPlugin]]), tagged with systemConfig, containing
the following lines of javascript code:

//{{{
var f=config.formatters[config.formatters.findByField("name","list")];
f.match="^(?:[\\*#]+)";
f.lookaheadRegExp=/^(?:(?:(\*)|(#))+)/mg;
//}}}

The first line locates the "list" formatter in the TW core-defined
global config.formatters object.

The second and third lines redefine the 'match' and 'lookahead'
patterns to remove ";:" from the allowable target characters.

Once these lines of code are applied (when you save and reload), the
TW core's "list" formatter will no longer recognize ; and :, and will
leave them alone so they will be rendered as normal content.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:

   TiddlyTools direct contributions: (paypal)
      http://www.TiddlyTools.com/#Donate
   UnaMesa tax-deductible contributions:
      http://about.unamesa.org/Participate (paypal)
   TiddlyWiki consulting:
      http://www.TiddlyTools.com/#ELSDesignStudios
      http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to