forked from rDrama/rDrama
Fleshed out all html formatting in the table
parent
b7af7c7b1e
commit
94468bdbd9
|
@ -202,16 +202,22 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Line Break</td>
|
<td>Line Break</td>
|
||||||
<td>
|
<td>
|
||||||
|
<pre>
|
||||||
|
Line 1
|
||||||
|
<br>
|
||||||
|
Line 2
|
||||||
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Line 1<br>Line 2
|
Line 1
|
||||||
|
<br>
|
||||||
|
Line 2
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Code</td>
|
<td>Code</td>
|
||||||
<td>
|
<td>
|
||||||
|
<code>This is code</code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<code>This is code</code>
|
<code>This is code</code>
|
||||||
|
@ -220,7 +226,7 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Strikethrough</td>
|
<td>Strikethrough</td>
|
||||||
<td>
|
<td>
|
||||||
|
The last word will have a <del>strikethrough</del>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
The last word will have a <del>strikethrough</del>
|
The last word will have a <del>strikethrough</del>
|
||||||
|
@ -229,7 +235,7 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Emphasis</td>
|
<td>Emphasis</td>
|
||||||
<td>
|
<td>
|
||||||
|
We <em>cannot</em> live like this.
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
We <em>cannot</em> live like this.
|
We <em>cannot</em> live like this.
|
||||||
|
@ -238,7 +244,14 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Headings</td>
|
<td>Headings</td>
|
||||||
<td>
|
<td>
|
||||||
|
<pre>
|
||||||
|
<h1>This is heading 1</h1>
|
||||||
|
<h2>This is heading 2</h2>
|
||||||
|
<h3>This is heading 3</h3>
|
||||||
|
<h4>This is heading 4</h4>
|
||||||
|
<h5>This is heading 5</h5>
|
||||||
|
<h6>This is heading 6</h6>
|
||||||
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<h1>This is heading 1</h1>
|
<h1>This is heading 1</h1>
|
||||||
|
@ -252,7 +265,11 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Horizontal Rule</td>
|
<td>Horizontal Rule</td>
|
||||||
<td>
|
<td>
|
||||||
|
<pre>
|
||||||
|
Text 1
|
||||||
|
<hr>
|
||||||
|
Text 2
|
||||||
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Text 1
|
Text 1
|
||||||
|
@ -263,7 +280,8 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Italics</td>
|
<td>Italics</td>
|
||||||
<td>
|
<td>
|
||||||
|
<i>This</i> is how you get italics.
|
||||||
|
<i>This</i> is how you get italics.
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<i>This</i> is how you get italics.
|
<i>This</i> is how you get italics.
|
||||||
|
@ -272,7 +290,16 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Lists</td>
|
<td>Lists</td>
|
||||||
<td>
|
<td>
|
||||||
|
<pre>
|
||||||
|
<ul>
|
||||||
|
<li>Bullet 1</li>
|
||||||
|
<li>Bullet 2</li>
|
||||||
|
</ul>
|
||||||
|
<ol>
|
||||||
|
<li>Number 1</li>
|
||||||
|
<li>Number 2</li>
|
||||||
|
</ol>
|
||||||
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -288,7 +315,10 @@ Allowed tags:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Paragraphs</td>
|
<td>Paragraphs</td>
|
||||||
<td>
|
<td>
|
||||||
|
<pre>
|
||||||
|
<p>Paragraph 1</p>
|
||||||
|
<p>Paragraph 2</p>
|
||||||
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Paragraph 1</p>
|
<p>Paragraph 1</p>
|
||||||
|
@ -297,9 +327,15 @@ Allowed tags:
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Preformatted Text</td>
|
<td>Preformatted Text</td>
|
||||||
<td>
|
<td><pre>
|
||||||
|
<pre>
|
||||||
</td>
|
Text in a pre element
|
||||||
|
is displayed in a fixed-width
|
||||||
|
font, and it preserves
|
||||||
|
both spaces and
|
||||||
|
line breaks
|
||||||
|
</pre>
|
||||||
|
</pre></td>
|
||||||
<td>
|
<td>
|
||||||
<pre>
|
<pre>
|
||||||
Text in a pre element
|
Text in a pre element
|
||||||
|
@ -313,7 +349,7 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Strong</td>
|
<td>Strong</td>
|
||||||
<td>
|
<td>
|
||||||
|
<strong>This text is important!</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<strong>This text is important!</strong>
|
<strong>This text is important!</strong>
|
||||||
|
@ -322,7 +358,7 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Subscript</td>
|
<td>Subscript</td>
|
||||||
<td>
|
<td>
|
||||||
|
This text contains <sub>subscript</sub> text.
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
This text contains <sub>subscript</sub> text.
|
This text contains <sub>subscript</sub> text.
|
||||||
|
@ -331,7 +367,7 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Superscript</td>
|
<td>Superscript</td>
|
||||||
<td>
|
<td>
|
||||||
|
E = mc<sup>2</sup>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
E = mc<sup>2</sup>
|
E = mc<sup>2</sup>
|
||||||
|
@ -339,8 +375,28 @@ line breaks
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Tables</td>
|
<td>Tables</td>
|
||||||
<td>
|
<td><pre>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td>Col 1</td>
|
||||||
|
<td>Col 2</td>
|
||||||
|
<td>Col 3</td>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>1</td>
|
||||||
|
<td>2</td>
|
||||||
|
<td>3</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>4</td>
|
||||||
|
<td>5</td>
|
||||||
|
<td>6</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table></pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<table>
|
<table>
|
||||||
|
@ -369,7 +425,9 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Marquee</td>
|
<td>Marquee</td>
|
||||||
<td>
|
<td>
|
||||||
|
<marquee width="60%" direction="up" height="100px">
|
||||||
|
This is a sample scrolling text that has scrolls in the upper direction.
|
||||||
|
</marquee>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<marquee width="60%" direction="up" height="100px">
|
<marquee width="60%" direction="up" height="100px">
|
||||||
|
@ -380,7 +438,7 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Links</td>
|
<td>Links</td>
|
||||||
<td>
|
<td>
|
||||||
|
This is a <a href='https://www.w3schools.com/tags/tag_a.asp'>link</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
This is a <a href='https://www.w3schools.com/tags/tag_a.asp'>link</a>
|
This is a <a href='https://www.w3schools.com/tags/tag_a.asp'>link</a>
|
||||||
|
@ -389,7 +447,7 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Images</td>
|
<td>Images</td>
|
||||||
<td>
|
<td>
|
||||||
|
<img src="https://i.imgur.com/SwVuagI_d.webp" width="200">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<img src="https://i.imgur.com/SwVuagI_d.webp" width="200">
|
<img src="https://i.imgur.com/SwVuagI_d.webp" width="200">
|
||||||
|
@ -398,7 +456,7 @@ line breaks
|
||||||
<tr>
|
<tr>
|
||||||
<td>Span</td>
|
<td>Span</td>
|
||||||
<td>
|
<td>
|
||||||
|
My mother has <span style="color:blue">blue</span> eyes.
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
My mother has <span style="color:blue">blue</span> eyes.
|
My mother has <span style="color:blue">blue</span> eyes.
|
||||||
|
@ -407,9 +465,6 @@ line breaks
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
- img
|
|
||||||
- span
|
|
||||||
|
|
||||||
Allowed styles:
|
Allowed styles:
|
||||||
|
|
||||||
<table class="table table-striped mb-5">
|
<table class="table table-striped mb-5">
|
||||||
|
|
Loading…
Reference in New Issue