Difference between revisions of "HowTo Talk:Configure your favorite text editor to work with POV-Ray"

From POV-Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
Anyone know how to get multi-line PRE tags to not screw up wiki formatting and stay indented per the list structure? I had to split some of them across multiple lines because of this. Preferably a solution using wiki syntax instead of typing out the HTML tags explicitly. [[User:SharkD|SharkD]] 03:43, 24 June 2010 (UTC)
 
Anyone know how to get multi-line PRE tags to not screw up wiki formatting and stay indented per the list structure? I had to split some of them across multiple lines because of this. Preferably a solution using wiki syntax instead of typing out the HTML tags explicitly. [[User:SharkD|SharkD]] 03:43, 24 June 2010 (UTC)
  
;Doesn't work:
+
;Doesn't work
 
#text text <pre>code
 
#text text <pre>code
 
code
 
code
Line 9: Line 9:
 
#text text
 
#text text
  
;Works, but requires HTML markup:
+
;Works, but requires HTML markup
 
<ol>
 
<ol>
 
<li>text text <pre>code
 
<li>text text <pre>code
Line 17: Line 17:
 
</ol>
 
</ol>
  
;Looses some of its formatting:
+
;Looses some of its formatting
 
#text text <br/><tt>code<br/>code<br/>code</tt>
 
#text text <br/><tt>code<br/>code<br/>code</tt>
 
#text text
 
#text text
  
;Displays instead of parses BR tags:
+
;Displays instead of parses BR tags
 
#text text <pre>code<br>code<br>code</pre>
 
#text text <pre>code<br>code<br>code</pre>
 
#text text
 
#text text
  
;Indents the second list item another level:
+
;Indents the second list item an extra level
 
#text text <source lang="perl">code
 
#text text <source lang="perl">code
 
code
 
code
 
code</source>
 
code</source>
 
#text text
 
#text text

Revision as of 04:04, 24 June 2010

Formatting of PRE tags...

Anyone know how to get multi-line PRE tags to not screw up wiki formatting and stay indented per the list structure? I had to split some of them across multiple lines because of this. Preferably a solution using wiki syntax instead of typing out the HTML tags explicitly. SharkD 03:43, 24 June 2010 (UTC)

Doesn't work
  1. text text
    code

code

code

  1. text text
Works, but requires HTML markup
  1. text text
    code
    code
    code
  2. text text
Looses some of its formatting
  1. text text
    code
    code
    code
  2. text text
Displays instead of parses BR tags
  1. text text
    code<br>code<br>code
  2. text text
Indents the second list item an extra level
  1. text text
    code
    code
    code
    
  2. text text