mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
chore: remove html beautify from tests
This commit is contained in:
parent
6412eadf29
commit
6e5073d977
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -27,12 +27,12 @@ showdown.subParser('tables', function (text, options, globals) {
|
||||||
}
|
}
|
||||||
header = showdown.subParser('spanGamut')(header, options, globals);
|
header = showdown.subParser('spanGamut')(header, options, globals);
|
||||||
|
|
||||||
return '<th' + id + style + '>' + header + '</th>';
|
return '<th' + id + style + '>' + header + '</th>\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseCells(cell, style) {
|
function parseCells(cell, style) {
|
||||||
var subText = showdown.subParser('spanGamut')(cell, options, globals);
|
var subText = showdown.subParser('spanGamut')(cell, options, globals);
|
||||||
return '<td' + style + '>' + subText + '</td>';
|
return '<td' + style + '>' + subText + '</td>\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildTable(headers, cells) {
|
function buildTable(headers, cells) {
|
||||||
|
@ -45,13 +45,13 @@ showdown.subParser('tables', function (text, options, globals) {
|
||||||
tb += '</tr>\n</thead>\n<tbody>\n';
|
tb += '</tr>\n</thead>\n<tbody>\n';
|
||||||
|
|
||||||
for (i = 0; i < cells.length; ++i) {
|
for (i = 0; i < cells.length; ++i) {
|
||||||
tb += '<tr>';
|
tb += '<tr>\n';
|
||||||
for (var ii = 0; ii < tblLgn; ++ii) {
|
for (var ii = 0; ii < tblLgn; ++ii) {
|
||||||
tb += cells[i][ii];
|
tb += cells[i][ii];
|
||||||
}
|
}
|
||||||
tb += '</tr>';
|
tb += '</tr>\n';
|
||||||
}
|
}
|
||||||
tb += '</tbody></table>';
|
tb += '</tbody>\n</table>\n';
|
||||||
return tb;
|
return tb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
12
test/bootstrap.js
vendored
12
test/bootstrap.js
vendored
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
require('source-map-support').install();
|
require('source-map-support').install();
|
||||||
require('chai').should();
|
require('chai').should();
|
||||||
var fs = require('fs'),
|
var fs = require('fs');
|
||||||
os = require('os'),
|
/*
|
||||||
/*jshint -W106 */
|
os = require('os'),
|
||||||
beautify = require('js-beautify').html_beautify,
|
beautify = require('js-beautify').html_beautify,
|
||||||
beauOptions = {
|
beauOptions = {
|
||||||
eol: os.EOL,
|
eol: os.EOL,
|
||||||
indent_size: 2,
|
indent_size: 2,
|
||||||
preserve_newlines: false
|
preserve_newlines: false
|
||||||
};
|
};
|
||||||
/*jshint +W106 */
|
*/
|
||||||
|
|
||||||
function getTestSuite(dir) {
|
function getTestSuite(dir) {
|
||||||
return fs.readdirSync(dir)
|
return fs.readdirSync(dir)
|
||||||
|
@ -78,8 +78,8 @@
|
||||||
testCase.actual = testCase.actual.trim();
|
testCase.actual = testCase.actual.trim();
|
||||||
|
|
||||||
//Beautify
|
//Beautify
|
||||||
testCase.expected = beautify(testCase.expected, beauOptions);
|
//testCase.expected = beautify(testCase.expected, beauOptions);
|
||||||
testCase.actual = beautify(testCase.actual, beauOptions);
|
//testCase.actual = beautify(testCase.actual, beauOptions);
|
||||||
|
|
||||||
// Normalize line returns
|
// Normalize line returns
|
||||||
testCase.expected = testCase.expected.replace(/(\r\n)|\n|\r/g, '\n');
|
testCase.expected = testCase.expected.replace(/(\r\n)|\n|\r/g, '\n');
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>a blockquote with a 4 space indented line (not code)</p>
|
<p>a blockquote
|
||||||
|
with a 4 space indented line (not code)</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<p>sep</p>
|
<p>sep</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>a blockquote</p>
|
<p>a blockquote</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre><code>with some code after
|
<pre><code>with some code after
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>foo</p>
|
<p>foo</p>
|
||||||
|
|
||||||
<pre><code>> this is another bq
|
<pre><code>> this is another bq
|
||||||
inside code
|
inside code
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>This is the first list item.</li>
|
<li>This is the first list item.</li>
|
||||||
|
|
||||||
<li>This is the second list item.</li>
|
<li>This is the second list item.</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Bird</p></li>
|
<li><p>Bird</p></li>
|
||||||
|
|
||||||
<li><p>Magic</p></li>
|
<li><p>Magic</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
|
|
||||||
<li>list item 2</li>
|
<li>list item 2</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
@ -11,5 +12,6 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>another list item 1</li>
|
<li>another list item 1</li>
|
||||||
|
|
||||||
<li>another list item 2</li>
|
<li>another list item 2</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
|
|
||||||
<li>list item 2</li>
|
<li>list item 2</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
@ -12,5 +13,6 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>another list item 1</li>
|
<li>another list item 1</li>
|
||||||
|
|
||||||
<li>another list item 2</li>
|
<li>another list item 2</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
<li><p>This is a major bullet point.</p>
|
<li><p>This is a major bullet point.</p>
|
||||||
|
|
||||||
<p>That contains multiple paragraphs.</p></li>
|
<p>That contains multiple paragraphs.</p></li>
|
||||||
|
|
||||||
<li><p>And another line</p></li>
|
<li><p>And another line</p></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>This line spans
|
<li>This line spans
|
||||||
more than one line and is lazy</li>
|
more than one line and is lazy</li>
|
||||||
|
|
||||||
<li>Similar to this line</li>
|
<li>Similar to this line</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>Red</li>
|
<li>Red</li>
|
||||||
|
|
||||||
<li>Green</li>
|
<li>Green</li>
|
||||||
|
|
||||||
<li>Blue</li>
|
<li>Blue</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>Red</li>
|
<li>Red</li>
|
||||||
|
|
||||||
<li>Green</li>
|
<li>Green</li>
|
||||||
|
|
||||||
<li>Blue</li>
|
<li>Blue</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>Red</li>
|
<li>Red</li>
|
||||||
|
|
||||||
<li>Green</li>
|
<li>Green</li>
|
||||||
|
|
||||||
<li>Blue</li>
|
<li>Blue</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>foo</p>
|
<li><p>foo</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>bazinga</p></li>
|
<li><p>bazinga</p></li>
|
||||||
<li><p>yeah</p></li>
|
|
||||||
</ul>
|
<li><p>yeah</p></li></ul></li>
|
||||||
</li>
|
|
||||||
<li><p>bar</p>
|
<li><p>bar</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li><p>damn</p></li>
|
<li><p>damn</p></li>
|
||||||
<li><p>so many paragraphs</p></li>
|
|
||||||
</ol>
|
<li><p>so many paragraphs</p></li></ol></li>
|
||||||
</li>
|
|
||||||
<li><p>baz</p></li>
|
<li><p>baz</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Red</li>
|
<li>Red</li>
|
||||||
|
|
||||||
<li>Green</li>
|
<li>Green</li>
|
||||||
|
|
||||||
<li>Blue</li>
|
<li>Blue</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Red</li>
|
<li>Red</li>
|
||||||
|
|
||||||
<li>Green</li>
|
<li>Green</li>
|
||||||
|
|
||||||
<li>Blue</li>
|
<li>Blue</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Red</li>
|
<li>Red</li>
|
||||||
|
|
||||||
<li>Green</li>
|
<li>Green</li>
|
||||||
|
|
||||||
<li>Blue</li>
|
<li>Blue</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
<p><img src="./pic/pic1_50.png" alt="my image" width="100px" height="20px" /></p>
|
<p><img src="./pic/pic1_50.png" alt="my image" width="100px" height="20px" /></p>
|
||||||
|
|
||||||
<p><img src="./pic/pic1_50.png" alt="my image2" width="100px" height="20px" /></p>
|
<p><img src="./pic/pic1_50.png" alt="my image2" width="100px" height="20px" /></p>
|
|
@ -2,8 +2,11 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>foo</li>
|
<li>foo</li>
|
||||||
|
|
||||||
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> bar</li>
|
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> bar</li>
|
||||||
|
|
||||||
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> baz</li>
|
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> baz</li>
|
||||||
|
|
||||||
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;" checked> bazinga</li>
|
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;" checked> bazinga</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<h1 id="somemarkdown">some markdown</h1>
|
<h1 id="somemarkdown">some markdown</h1>
|
||||||
|
|
||||||
<p>blabla</p>
|
<p>blabla</p>
|
||||||
<div>This is **not parsed**</div>
|
|
||||||
<div markdown="1">
|
|
||||||
<p>This is <strong>parsed</strong></p>
|
|
||||||
</div>
|
|
||||||
<div>This is **not parsed**</div>
|
<div>This is **not parsed**</div>
|
||||||
|
|
||||||
|
<div markdown="1"><p>This is <strong>parsed</strong></p></div>
|
||||||
|
|
||||||
|
<div>This is **not parsed**</div>
|
||||||
|
|
|
@ -5,17 +5,14 @@
|
||||||
<th style="text-align:left;">Second Header</th>
|
<th style="text-align:left;">Second Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:left;">Row 1 Cell 1</td>
|
<td style="text-align:left;">Row 1 Cell 1</td>
|
||||||
<td style="text-align:left;">Row 1 Cell 2</td>
|
<td style="text-align:left;">Row 1 Cell 2</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:left;">Row 2 Cell 1</td>
|
<td style="text-align:left;">Row 2 Cell 1</td>
|
||||||
<td style="text-align:left;">Row 2 Cell 2</td>
|
<td style="text-align:left;">Row 2 Cell 2</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,21 +1,18 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="first_header">First Header</th>
|
<th id="first_header">First Header</th>
|
||||||
<th id="second_header">Second Header</th>
|
<th id="second_header">Second Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Row 1 Cell 1</td>
|
<td>Row 1 Cell 1</td>
|
||||||
<td>Row 1 Cell 2</td>
|
<td>Row 1 Cell 2</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<tr>
|
<td>Row 2 Cell 1</td>
|
||||||
<td>Row 2 Cell 1</td>
|
<td>Row 2 Cell 2</td>
|
||||||
<td>Row 2 Cell 2</td>
|
</tr>
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,21 +1,18 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>First Header</th>
|
<th>First Header</th>
|
||||||
<th>Second Header</th>
|
<th>Second Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>Row 1 Cell 1</td>
|
||||||
<td>Row 1 Cell 1</td>
|
<td>Row 1 Cell 2</td>
|
||||||
<td>Row 1 Cell 2</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td>Row 2 Cell 1</td>
|
||||||
<tr>
|
<td>Row 2 Cell 2</td>
|
||||||
<td>Row 2 Cell 1</td>
|
</tr>
|
||||||
<td>Row 2 Cell 2</td>
|
</tbody>
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,24 +1,21 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>First Header</th>
|
<th>First Header</th>
|
||||||
<th>Second Header</th>
|
<th>Second Header</th>
|
||||||
<th>Third Header</th>
|
<th>Third Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Content Cell</td>
|
<td>Content Cell</td>
|
||||||
<td>Content Cell</td>
|
<td>Content Cell</td>
|
||||||
<td>C</td>
|
<td>C</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<tr>
|
<td>Content Cell</td>
|
||||||
<td>Content Cell</td>
|
<td>Content Cell</td>
|
||||||
<td>Content Cell</td>
|
<td>C</td>
|
||||||
<td>C</td>
|
</tr>
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,48 +1,42 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="text-align:left;">First Header</th>
|
<th style="text-align:left;">First Header</th>
|
||||||
<th style="text-align:center;">Second Header</th>
|
<th style="text-align:center;">Second Header</th>
|
||||||
<th style="text-align:right;">Third Header</th>
|
<th style="text-align:right;">Third Header</th>
|
||||||
<th>Fourth Header</th>
|
<th>Fourth Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:left;">Row 1 Cell 1</td>
|
<td style="text-align:left;">Row 1 Cell 1</td>
|
||||||
<td style="text-align:center;">Row 1 Cell 2</td>
|
<td style="text-align:center;">Row 1 Cell 2</td>
|
||||||
<td style="text-align:right;">Row 1 Cell 3</td>
|
<td style="text-align:right;">Row 1 Cell 3</td>
|
||||||
<td>Row 1 Cell 4</td>
|
<td>Row 1 Cell 4</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<tr>
|
<td style="text-align:left;">Row 2 Cell 1</td>
|
||||||
<td style="text-align:left;">Row 2 Cell 1</td>
|
<td style="text-align:center;">Row 2 Cell 2</td>
|
||||||
<td style="text-align:center;">Row 2 Cell 2</td>
|
<td style="text-align:right;">Row 2 Cell 3</td>
|
||||||
<td style="text-align:right;">Row 2 Cell 3</td>
|
<td>Row 2 Cell 4</td>
|
||||||
<td>Row 2 Cell 4</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td style="text-align:left;">Row 3 Cell 1</td>
|
||||||
<tr>
|
<td style="text-align:center;">Row 3 Cell 2</td>
|
||||||
<td style="text-align:left;">Row 3 Cell 1</td>
|
<td style="text-align:right;">Row 3 Cell 3</td>
|
||||||
<td style="text-align:center;">Row 3 Cell 2</td>
|
<td>Row 3 Cell 4</td>
|
||||||
<td style="text-align:right;">Row 3 Cell 3</td>
|
</tr>
|
||||||
<td>Row 3 Cell 4</td>
|
<tr>
|
||||||
</tr>
|
<td style="text-align:left;">Row 4 Cell 1</td>
|
||||||
|
<td style="text-align:center;">Row 4 Cell 2</td>
|
||||||
<tr>
|
<td style="text-align:right;">Row 4 Cell 3</td>
|
||||||
<td style="text-align:left;">Row 4 Cell 1</td>
|
<td>Row 4 Cell 4</td>
|
||||||
<td style="text-align:center;">Row 4 Cell 2</td>
|
</tr>
|
||||||
<td style="text-align:right;">Row 4 Cell 3</td>
|
<tr>
|
||||||
<td>Row 4 Cell 4</td>
|
<td style="text-align:left;">Row 5 Cell 1</td>
|
||||||
</tr>
|
<td style="text-align:center;">Row 5 Cell 2</td>
|
||||||
|
<td style="text-align:right;">Row 5 Cell 3</td>
|
||||||
<tr>
|
<td>Row 5 Cell 4</td>
|
||||||
<td style="text-align:left;">Row 5 Cell 1</td>
|
</tr>
|
||||||
<td style="text-align:center;">Row 5 Cell 2</td>
|
|
||||||
<td style="text-align:right;">Row 5 Cell 3</td>
|
|
||||||
<td>Row 5 Cell 4</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,48 +1,42 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>First Header</th>
|
<th>First Header</th>
|
||||||
<th>Second Header</th>
|
<th>Second Header</th>
|
||||||
<th>Third Header</th>
|
<th>Third Header</th>
|
||||||
<th>Fourth Header</th>
|
<th>Fourth Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>Row 1 Cell 1</td>
|
||||||
<td>Row 1 Cell 1</td>
|
<td>Row 1 Cell 2</td>
|
||||||
<td>Row 1 Cell 2</td>
|
<td>Row 1 Cell 3</td>
|
||||||
<td>Row 1 Cell 3</td>
|
<td>Row 1 Cell 4</td>
|
||||||
<td>Row 1 Cell 4</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td>Row 2 Cell 1</td>
|
||||||
<tr>
|
<td>Row 2 Cell 2</td>
|
||||||
<td>Row 2 Cell 1</td>
|
<td>Row 2 Cell 3</td>
|
||||||
<td>Row 2 Cell 2</td>
|
<td>Row 2 Cell 4</td>
|
||||||
<td>Row 2 Cell 3</td>
|
</tr>
|
||||||
<td>Row 2 Cell 4</td>
|
<tr>
|
||||||
</tr>
|
<td>Row 3 Cell 1</td>
|
||||||
|
<td>Row 3 Cell 2</td>
|
||||||
<tr>
|
<td>Row 3 Cell 3</td>
|
||||||
<td>Row 3 Cell 1</td>
|
<td>Row 3 Cell 4</td>
|
||||||
<td>Row 3 Cell 2</td>
|
</tr>
|
||||||
<td>Row 3 Cell 3</td>
|
<tr>
|
||||||
<td>Row 3 Cell 4</td>
|
<td>Row 4 Cell 1</td>
|
||||||
</tr>
|
<td>Row 4 Cell 2</td>
|
||||||
|
<td>Row 4 Cell 3</td>
|
||||||
<tr>
|
<td>Row 4 Cell 4</td>
|
||||||
<td>Row 4 Cell 1</td>
|
</tr>
|
||||||
<td>Row 4 Cell 2</td>
|
<tr>
|
||||||
<td>Row 4 Cell 3</td>
|
<td>Row 5 Cell 1</td>
|
||||||
<td>Row 4 Cell 4</td>
|
<td>Row 5 Cell 2</td>
|
||||||
</tr>
|
<td>Row 5 Cell 3</td>
|
||||||
|
<td>Row 5 Cell 4</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Row 5 Cell 1</td>
|
</tbody>
|
||||||
<td>Row 5 Cell 2</td>
|
|
||||||
<td>Row 5 Cell 3</td>
|
|
||||||
<td>Row 5 Cell 4</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -12,18 +12,15 @@
|
||||||
<td style="text-align:center;">some wordy paragraph</td>
|
<td style="text-align:center;">some wordy paragraph</td>
|
||||||
<td style="text-align:right;">$1600</td>
|
<td style="text-align:right;">$1600</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:left;">col 2 is</td>
|
<td style="text-align:left;">col 2 is</td>
|
||||||
<td style="text-align:center;">centered</td>
|
<td style="text-align:center;">centered</td>
|
||||||
<td style="text-align:right;">$12</td>
|
<td style="text-align:right;">$12</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:left;">zebra stripes</td>
|
<td style="text-align:left;">zebra stripes</td>
|
||||||
<td style="text-align:center;">are neat</td>
|
<td style="text-align:center;">are neat</td>
|
||||||
<td style="text-align:right;">$1</td>
|
<td style="text-align:right;">$1</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -4,20 +4,18 @@
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>header1</th>
|
<th>header1</th>
|
||||||
<th>header2</th>
|
<th>header2</th>
|
||||||
<th>header3</th>
|
<th>header3</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Value1</td>
|
<td>Value1</td>
|
||||||
<td>Value2</td>
|
<td>Value2</td>
|
||||||
<td>Value3</td>
|
<td>Value3</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -25,19 +23,17 @@
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>headerA</th>
|
<th>headerA</th>
|
||||||
<th>headerB</th>
|
<th>headerB</th>
|
||||||
<th>headerC</th>
|
<th>headerC</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>ValueA</td>
|
<td>ValueA</td>
|
||||||
<td>ValueB</td>
|
<td>ValueB</td>
|
||||||
<td>ValueC</td>
|
<td>ValueC</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
|
@ -1,21 +1,18 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>First Header</th>
|
<th>First Header</th>
|
||||||
<th>Second Header</th>
|
<th>Second Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>Row 1 Cell 1</td>
|
||||||
<td>Row 1 Cell 1</td>
|
<td>Row 1 Cell 2</td>
|
||||||
<td>Row 1 Cell 2</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td>Row 2 Cell 1</td>
|
||||||
<tr>
|
<td>Row 2 Cell 2</td>
|
||||||
<td>Row 2 Cell 1</td>
|
</tr>
|
||||||
<td>Row 2 Cell 2</td>
|
</tbody>
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -4,25 +4,22 @@ malesuada vitae imperdiet ac, tincidunt eget lacus. Proin ullamcorper
|
||||||
vulputate dictum. Vestibulum consequat ultricies nibh, sed tempus nisl mattis a.</p>
|
vulputate dictum. Vestibulum consequat ultricies nibh, sed tempus nisl mattis a.</p>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>First Header</th>
|
<th>First Header</th>
|
||||||
<th>Second Header</th>
|
<th>Second Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>Row 1 Cell 1</td>
|
||||||
<td>Row 1 Cell 1</td>
|
<td>Row 1 Cell 2</td>
|
||||||
<td>Row 1 Cell 2</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td>Row 2 Cell 1</td>
|
||||||
<tr>
|
<td>Row 2 Cell 2</td>
|
||||||
<td>Row 2 Cell 1</td>
|
</tr>
|
||||||
<td>Row 2 Cell 2</td>
|
</tbody>
|
||||||
</tr>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p>Phasellus ac porttitor quam. Integer cursus accumsan mauris nec interdum.
|
<p>Phasellus ac porttitor quam. Integer cursus accumsan mauris nec interdum.
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>First Header</th>
|
<th>First Header</th>
|
||||||
<th>Second Header</th>
|
<th>Second Header</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tbody>
|
</tbody>
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
||||||
|
|
||||||
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
||||||
|
|
||||||
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
<li>foo_bar_baz foo_bar_baz_bar_foo <em>foo_bar baz_bar</em> baz_foo</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -67,7 +69,7 @@
|
||||||
|
|
||||||
<p><code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></p>
|
<p><code>foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo</code></p>
|
||||||
|
|
||||||
<p><img src="http://myurl.com/foo_bar_baz_bar_foo" alt="foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo"/></p>
|
<p><img src="http://myurl.com/foo_bar_baz_bar_foo" alt="foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo" /></p>
|
||||||
|
|
||||||
<p><a href="http://myurl.com/foo_bar_baz_bar_foo">http://myurl.com/foo_bar_baz_bar_foo</a></p>
|
<p><a href="http://myurl.com/foo_bar_baz_bar_foo">http://myurl.com/foo_bar_baz_bar_foo</a></p>
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,17 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Item 1</li>
|
<li>Item 1</li>
|
||||||
|
|
||||||
<li>Item 2</li>
|
<li>Item 2</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Item 1</li>
|
<li>Item 1</li>
|
||||||
|
|
||||||
<li>Item 2</li>
|
<li>Item 2</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Item 1</li>
|
<li>Item 1</li>
|
||||||
|
|
||||||
<li>Item 2</li>
|
<li>Item 2</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li><p>Hi, I am a thing</p>
|
||||||
<p>Hi, I am a thing</p>
|
|
||||||
|
|
||||||
<pre><code class="sh language-sh">$ git clone thing.git
|
<pre><code class="sh language-sh">$ git clone thing.git
|
||||||
|
|
||||||
dfgdfg
|
dfgdfg
|
||||||
</code></pre></li>
|
</code></pre></li>
|
||||||
<li>
|
|
||||||
<p>I am another thing!</p>
|
<li><p>I am another thing!</p>
|
||||||
|
|
||||||
<pre><code class="sh language-sh">$ git clone other-thing.git
|
<pre><code class="sh language-sh">$ git clone other-thing.git
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>a blockquote</p>
|
<p>a blockquote</p>
|
||||||
|
|
||||||
<h1 id="followedbyanheading">followed by an heading</h1>
|
<h1 id="followedbyanheading">followed by an heading</h1>
|
||||||
</blockquote>
|
</blockquote>
|
|
@ -1,20 +1,28 @@
|
||||||
<p>Test pre in a list</p>
|
<p>Test pre in a list</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>& <</li>
|
<li>& <</li>
|
||||||
|
|
||||||
<li><code>& <</code>
|
<li><code>& <</code>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>& <</li>
|
<li>& <</li>
|
||||||
|
|
||||||
<li><code>& <</code>
|
<li><code>& <</code>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>& <</li>
|
<li>& <</li>
|
||||||
|
|
||||||
<li><code>& <</code>
|
<li><code>& <</code>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>& <</li>
|
<li>& <</li>
|
||||||
<li><code>& <</code></li>
|
|
||||||
</ul>
|
<li><code>& <</code></li></ul>
|
||||||
</li>
|
</li></ul>
|
||||||
</ul>
|
</li></ul>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,5 +1,8 @@
|
||||||
<h2 id="title1">Title 1</h2>
|
<h2 id="title1">Title 1</h2>
|
||||||
|
|
||||||
<div></div>
|
<div></div>
|
||||||
|
|
||||||
<h1 id="title2">Title 2</h1>
|
<h1 id="title2">Title 2</h1>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
<p>A first sentence<br />
|
<p>A first sentence <br />
|
||||||
and a line break.</p>
|
and a line break.</p>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
<p>A first sentence<br />
|
<p>A first sentence <br />
|
||||||
and a line break.</p>
|
and a line break.</p>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li><p>a list containing a block of code</p>
|
||||||
<p>a list containing a block of code</p>
|
|
||||||
|
|
||||||
<pre><code>10 PRINT HELLO INFINITE
|
<pre><code>10 PRINT HELLO INFINITE
|
||||||
20 GOTO 10
|
20 GOTO 10
|
||||||
|
|
|
@ -6,5 +6,6 @@ mi posuere lectus.</p>
|
||||||
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||||
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
|
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
|
||||||
sit amet velit.</p></li>
|
sit amet velit.</p></li>
|
||||||
|
|
||||||
<li><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p></li>
|
<li><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p></li>
|
||||||
</ul>
|
</ul>
|
|
@ -6,5 +6,6 @@ mi posuere lectus.</p>
|
||||||
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||||
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
|
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
|
||||||
sit amet velit.</p></li>
|
sit amet velit.</p></li>
|
||||||
|
|
||||||
<li><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p></li>
|
<li><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p></li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,11 +1,8 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li><p>1</p>
|
||||||
<p>1</p>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>inner par list</li>
|
<li>inner par list</li></ul></li>
|
||||||
</ul>
|
|
||||||
</li>
|
<li><p>2</p></li>
|
||||||
<li>
|
|
||||||
<p>2</p>
|
|
||||||
</li>
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ol>
|
</ol>
|
|
@ -1,5 +1,7 @@
|
||||||
<ol>
|
<ol>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ol>
|
</ol>
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,5 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>list item 1</li>
|
<li>list item 1</li>
|
||||||
<li>list item 2</li>
|
|
||||||
<li>list item 3</li>
|
<li>list item 2</li>
|
||||||
|
|
||||||
|
<li>list item 3</li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,4 +1,5 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>list item in paragraph</p></li>
|
<li><p>list item in paragraph</p></li>
|
||||||
|
|
||||||
<li><p>another list item in paragraph</p></li>
|
<li><p>another list item in paragraph</p></li>
|
||||||
</ul>
|
</ul>
|
|
@ -1,4 +1,5 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph in a list.</li>
|
<li>This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph in a list.</li>
|
||||||
|
|
||||||
<li>and yet another long long long long long long long long long long long long long long long long long long long long long long line.</li>
|
<li>and yet another long long long long long long long long long long long long long long long long long long long long long long line.</li>
|
||||||
</ul>
|
</ul>
|
|
@ -2,6 +2,7 @@
|
||||||
<li>This is a list item
|
<li>This is a list item
|
||||||
with the content on
|
with the content on
|
||||||
multiline and indented.</li>
|
multiline and indented.</li>
|
||||||
|
|
||||||
<li>And this another list item
|
<li>And this another list item
|
||||||
with the same principle.</li>
|
with the same principle.</li>
|
||||||
</ul>
|
</ul>
|
Loading…
Reference in New Issue
Block a user