On 22 Feb 2008, at 17:25, James wrote:
On Fri, 22 Feb 2008 07:17:51 -0800, Todd Augsburger <todd@xxxxxxxxxxxxxxxx > wrote:Chris,Personally, I have no problem at all using thee "\\ " or "\\" syntax forline breaks, as documented.I agree with Todd - the "\\ " syntax offers better control; in exchange, I've had to train my users to not expect linebreaks for every carriage return. (I've found that wiki markup is _not_ easy for non-technical or non-programmer type users...)In terms of having a "nicer" looking wiki source file, I did write myself a small syntax plugin so that lines ending with three consecutive spaces had the same behavior as the "\\ " syntax - kinda similar to Markdown, if you're familiar with it. It's merely a visual convenience, but I like it.
Just to clarify, I am not proposing removal of the "\\" syntax. The question really is: (1) is it a change worth making in the DW core (ie. my alternative 1) ?(2) if no to (1), is it worth making a change to DW to allow DW to be extended in this area as the current plugin interface isn't really suitable for this change (ie. 3 or 4).
The line-break plugin does work after a fashion within the current DW, but it doesn't work all the time and has limitations and as I say in the proposal, it has to do a lot of work to achieve something that could be handled really simply if the correct part of DW (Doku_Renderer_xhtml::cdata()) could have its behaviour modified/ extended.
--Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist