[pmwiki-users] PmWiki 'Basic Editing' Documentation suggestion
    Tegan Dowling 
    tmdowling at gmail.com
       
    Mon Jul 23 13:26:14 CDT 2007
    
    
  
On 7/23/07, Nelson Ingersoll <nelson.ingersoll at email.com> wrote:
> Fair enough... Let's recommend emphasizing novices NOT use the \\ and \\\;
> and, still suggest blank lines.
>
Just to be sure you're aware of this alternative:  You can get the
wiki to behave in a manner much closer to what typical users of Word
and other word-processing software are accustomed to, wrt linebreaks,
by putting this in your local/config.php:
	// Force PmWiki to honor line breaks - per
http://www.pmwiki.org/wiki/Cookbook/LineBreaks - and
	// enable (:linebreaks:) and (:nolinebreaks:) markups to toggle
between the modes:
		$HTMLPNewline = '<br />';
		Markup('linebreaks', 'directives', '/\\(:(no)?linebreaks:\\)/e',
     		"PZZ(\$GLOBALS['HTMLPNewline'] = ('$1'!='no') ? '<br />' : '')");
    
    
More information about the pmwiki-users
mailing list