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