[dokuwiki] Re: Is there any way to turn off 'indent by two spaces' being a code block?

  • From: Christopher Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 19 Jun 2012 17:37:14 +0100

On 19 Jun 2012, at 13:42, Chris Green wrote:

> Subject says it all really, I want to be able to have multiple spaces at
> the start of a line without DokuWiki interpreting it as a code block. 
> 
> I have a stylesheet which has:-
> 
>  white-space: pre;
>  font-family: monospace;
> 
> and I want to be able to manually lay out some text.
> 
> Is there any sort of space (shifted space for example) or other
> non-printing character that will prevent DokuWiki seeing a space as the
> first character of the line?
> 
> -- 
> Chris Green
> -- 
> DokuWiki mailing list - more info at
> http://www.dokuwiki.org/mailinglist


<nowiki> http://www.dokuwiki.org/syntax#no_formatting

Two spaces isn't really code, as in it gets no syntax highlighting, its wrapped 
in <pre> and given a monospace font.

Rather than fighting against DokuWiki, work with it: give all your lines two 
spaces at the start.

- Chris--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: