Difference between revisions of "HowTo Talk:Configure your favorite text editor to work with POV-Ray"
Jump to navigation
Jump to search
(Formatting of PRE tags...) |
Jholsenback (talk | contribs) m (link change due to page move) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Formatting of PRE tags... == | == 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 them across multiple lines. 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 | ||
+ | #text text <pre>code | ||
+ | code | ||
+ | code</pre> | ||
+ | #text text | ||
+ | |||
+ | ;Works, but requires HTML markup | ||
+ | <ol> | ||
+ | <li>text text <pre>code | ||
+ | code | ||
+ | code</pre></li> | ||
+ | <li>text text</li> | ||
+ | </ol> | ||
+ | |||
+ | ;Looses some of its formatting | ||
+ | #text text <br/><tt>code<br/>code<br/>code</tt> | ||
+ | #text text | ||
+ | |||
+ | ;Displays instead of parses BR tags | ||
+ | #text text <pre>code<br>code<br>code</pre> | ||
+ | #text text | ||
+ | |||
+ | ;Indents the second list item an extra level | ||
+ | #text text <source lang="perl">code | ||
+ | code | ||
+ | code</source> | ||
+ | #text text | ||
+ | ===Follow Up=== | ||
+ | * [http://www.w3.org/TR/REC-html40/struct/text.html#edef-PRE pre tag] | ||
+ | * [[Help:Formatting|Formatting]] | ||
+ | * [[Doc:ToDo ChangeListReview|Some Usage examples]] | ||
+ | * [[Doc:Developers_Notes#Left_Justified|Left Justified]] | ||
+ | :: --[[User:Jholsenback|jholsenback]] 13:33, 24 June 2010 (UTC) |
Latest revision as of 14:41, 16 August 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
- text text
code
code
code
- text text
- Works, but requires HTML markup
- text text
code code code
- text text
- Looses some of its formatting
- text text
code
code
code - text text
- Displays instead of parses BR tags
- text text
code<br>code<br>code
- text text
- Indents the second list item an extra level
- text text
code code code
- text text
Follow Up
- --jholsenback 13:33, 24 June 2010 (UTC)