DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:newlines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
faq:newlines [2012-01-05 23:29] – changed reference to deprecated linebreak plugin to successor xbr plugin achfaq:newlines [2015-05-25 15:23] 77.79.78.30
Line 1: Line 1:
 ====== Keeping newlines as is? ====== ====== Keeping newlines as is? ======
  
-:?: Can I display the newline without using the magical '%%\\%%'? I find that when DokuWiki parses my document it eats up all my newlines, but I want the newlines displayed just as what I input.+:?: Can I display the newline without using the magical '%%\\%%'? I find that when DokuWiki parses my document it eats up all my newlines, %% but I want the newlines displayed just as what I input.
  
 :!: If you want a new paragraph just add a blank line. Preformatted text is possible with %%<file>%% and %%<code>%% tags. A mode which preserves newlines but applies other formatting is not available currently. As a side effect this encourages the users to create more structured texts, creating paragraphs for logical blocks. :!: If you want a new paragraph just add a blank line. Preformatted text is possible with %%<file>%% and %%<code>%% tags. A mode which preserves newlines but applies other formatting is not available currently. As a side effect this encourages the users to create more structured texts, creating paragraphs for logical blocks.
Line 9: Line 9:
 :!: The [[plugin:poem|poem plugin]] adds a %%<poem>%% tag which is similar to %%<file>%% in that newlines are preserved.  However, with %%<poem>%%, other formatting (**bold**, __underline__, etc.) works normally. :!: The [[plugin:poem|poem plugin]] adds a %%<poem>%% tag which is similar to %%<file>%% in that newlines are preserved.  However, with %%<poem>%%, other formatting (**bold**, __underline__, etc.) works normally.
  
-:?: If one wanted to modify (i.e. hack) the code to change the behavior for newlines (hypothetically, of course), which part of which file would need to be modified? 
faq/newlines.txt · Last modified: 2020-11-08 06:53 by michaelsy

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki