Help:Script Samples: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) |
||
Line 173:
== Syntax Highlighting ==
Demo of color coding using HTML markup and displaying line numbers:▼
<code><syntaxhighlight lang="html4strict" line class="inline"></code><syntaxhighlight lang="html4strict" line class="inline">▼
<table align=center style="background: ivory;color:maroon;font-style:italic;font-family:arial;font-weight:bold;font-size:10pt;"> ▼
<caption>This is the top caption</caption>▼
<tr><th> Heading 1 </th><th> Heading 2 </th></tr>▼
<tr>▼
<td style="padding:10px;"> This is cell 1 text </td>▼
<td style="padding:10px;"> This is cell 2 text </td>▼
</tr>▼
</table>▼
</syntaxhighlight><code></syntaxhighlight></code><br>▼
<br><br>▼
----▼
<br><br>
Line 207 ⟶ 192:
</syntaxhighlight>
<code></syntaxhighlight></code><br>
▲<br><br>
▲----
▲Demo of color coding using HTML markup and displaying line numbers:
▲<code><syntaxhighlight lang="html4strict" line class="inline"></code><syntaxhighlight lang="html4strict" line class="inline">
▲<table align=center style="background: ivory;color:maroon;font-style:italic;font-family:arial;font-weight:bold;font-size:10pt;">
▲<caption>This is the top caption</caption>
▲<tr><th> Heading 1 </th><th> Heading 2 </th></tr>
▲<tr>
▲<td style="padding:10px;"> This is cell 1 text </td>
▲<td style="padding:10px;"> This is cell 2 text </td>
▲</tr>
▲</table>
▲</syntaxhighlight><code></syntaxhighlight></code><br>
<br><br>
| |||