[dokuwiki] Re: Patch allowing display table control characters

I don`t know about %%  or '' (I think they change visualization of text
took, like <code>)

Although the patch is unecessary, I learn a little bit about parser and
also hack sources for fun. :-)

 On Tue, 23 Jun 2009 17:56:30 -0400
TNHarris <telliamed@xxxxxxxxxxx> wrote:

> On Tue, 23 Jun 2009 21:58:35 +0200
> Izidor Matusov <izidor.matusov@xxxxxxxxx> wrote:
> > 
> > I often need to show in table control characters | and ^. (E.g. ls |
> > wc -l, egrep -i '^expression' file).
> > 
> > As far as I know DokuWiki does not support using these characters in
> > tables. Therefore I write this patch. It simply adds pattern into
> > parser to allow using them together with '\' prefix.
> > 
> 
> A patch is unnecessary. 
> 
>     | %%egrep '^re' file | wc -l%% |
> 
> Or even just...
> 
>     | ''egrep '^re' file | wc -l'' |
> 
> Looks nice and even wraps the text in <code> tags which is
> semantically convenient.
> 
> And just for the sake of completeness...
> 
>     | <code>egrep '^re' file | wc -l</code> |
> 
> Well, you get the point. Backslash escapes don't look good at all in
> wiki text.
> 
> -- tom
> telliamed@xxxxxxxxxxxxx



-- 
Izidor Matusov
http://www.matusov.sk
http://iziapolo.blogspot.com
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: