---+!! Jan Veverka's Sand Box %TOC% ---++ Example of Twiki Markup Source Getting Mangled "Original Source" shows Twiki markup entered in the "Test Content" area. "Mangled Source" shows what this became after saving and then editing it again. ---+++ Test Content <style type="text/css" media="all">root div table pre, pre { text-align: left; padding: 10px; margin-left: 20px; color: black; border-style: solid; border-width: thin; } div.sh table pre, pre.sh {background-color: gainsboro; border-color: black;} div.output table pre, pre.output {background-color: palegreen; border-color: darkgreen} div.python table pre, pre.python {background-color: aliceblue; border-color: darkblue} div.cpp table pre, pre.cpp {background-color: beige; border-color: maroon;} </style> *NOTE:* Legend of colors for this twiki: <pre style="fontsize: 12"> Shell commands (cut & paste) </pre> <pre> Sample shell output </pre> <pre> Python code and configuration files (cut & paste) </pre> <pre> C++ code (cut & paste) </pre> ---+++ Original Source <verbatim> <style type="text/css" media="all">root div table pre, pre { text-align: left; padding: 10px; margin-left: 20px; color: black; border-style: solid; border-width: thin; } div.sh table pre, pre.sh {background-color: gainsboro; border-color: black;} div.output table pre, pre.output {background-color: palegreen; border-color: darkgreen} div.python table pre, pre.python {background-color: aliceblue; border-color: darkblue} div.cpp table pre, pre.cpp {background-color: beige; border-color: maroon;} </style> *NOTE:* Legend of colors for this twiki: <pre style="fontsize: 12" class="sh"> Shell commands (cut & paste) </pre><pre class="output"> Sample shell output </pre><pre class="python"> Python code and configuration files (cut & paste) </pre><pre class="cpp"> C++ code (cut & paste) </pre> </verbatim> ---+++ Mangled Source <verbatim> <style type="text/css" media="all">root div table pre, pre { text-align: left; padding: 10px; margin-left: 20px; color: black; border-style: solid; border-width: thin; } div.sh table pre, pre.sh {background-color: gainsboro; border-color: black;} div.output table pre, pre.output {background-color: palegreen; border-color: darkgreen} div.python table pre, pre.python {background-color: aliceblue; border-color: darkblue} div.cpp table pre, pre.cpp {background-color: beige; border-color: maroon;} </style> *NOTE:* Legend of colors for this twiki: <pre style="fontsize: 12"> Shell commands (cut & paste) </pre> <pre> Sample shell output </pre> <pre> Python code and configuration files (cut & paste) </pre> <pre> C++ code (cut & paste) </pre> </verbatim> -- -- Main.veverka - 2011-02-15
This topic: Sandbox
>
TWikiUsers
>
JanVeverka
>
JanVeverkaSandbox
Topic revision: r1 - 2011-02-15 - veverka
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback