Tags:
stale_content1Add my vote for this tag create new tag
, view all tags
Using __render this bold italic__ isn't particularly intuitive (two consecutive underscores). How about *_render this bold italic_* and/or _*render this bold italic*_ ?

-- LynnAllan - 19 Dec 2003

Edited to make the syntax appear when viewing.

-- SamHasler - 19 Dec 2003

  • *_render this bold italic_* is the old notation from JosWiki, deprecated a few years for some reason and available in the default plugin.
  • _*render this bold italic*_ also used to work once upon a time, and most users I've found find that the most intuitive form based on *bold* and _italic_ (Or rather I thought at one point it did work. Trying it on an install of old code - TWiki1999 - though doesn't show that though, maybe I'm misremembering)

Implementation is trivial if your users want it:

--- DefaultPlugin.pm    5 Nov 2003 12:31:37 -0000       1.4
+++ DefaultPlugin.pm    19 Dec 2003 12:08:36 -0000
@@ -172,6 +172,7 @@
 
     # render deprecated *_text_* as "bold italic" text:
     $_[0] =~ s/(^|\s)\*_([^\s].*?[^\s])_\*(\s|$)/$1<strong><em>$2<\/em><\/strong>$3/go;
+    $_[0] =~ s/(^|\s)_\*([^\s].*?[^\s])\*_(\s|$)/$1<strong><em>$2<\/em><\/strong>$3/go;
 
     # Use alternate %Web:WikiName% syntax (versus the standard Web.WikiName).
     # This is an old JosWiki render option. (Uncomment for JosWiki compatibility)

-- MS - 19 Dec 2003

The both (old) forms *_render this bold italic_* and =_*render this bold italic*_ will only work if they both work, otherwise you or your users will always remember the wrong one. If only one form works it is not a bad decision to have a new syntax for bold italic - it is easier to remember.

-- ArthurClemens - 19 Dec 2003

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-08-24 - TWikiJanitor
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.