forked from pygments/pygments
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filename to <th> if linenos=table (fixes pygments#1757)
* Emit `<th>` for `filename` if `linenos=table`. * Added test cases for filename inclusion.
- Loading branch information
Showing
131 changed files
with
1,012 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ | |
/.coverage | ||
/htmlcov | ||
/.vscode | ||
venv/ | ||
.venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-1"><span class="linenos">1</span></a><span class="c1"># a</span> | ||
<a href="#-2"><span class="linenos">2</span></a><span class="c1"># b</span> | ||
<a href="#-3"><span class="linenos">3</span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_1_start_1_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos">1</span><span class="c1"># a</span> | ||
<span class="linenos">2</span><span class="c1"># b</span> | ||
<span class="linenos">3</span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-1"><span class="linenos">1</span></a><span class="c1"># a</span> | ||
<a href="#-2"><span class="linenos">2</span></a><span class="c1"># b</span> | ||
<a href="#-3"><span class="linenos special">3</span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_1_start_1_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos">1</span><span class="c1"># a</span> | ||
<span class="linenos">2</span><span class="c1"># b</span> | ||
<span class="linenos special">3</span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-8"><span class="linenos"> 8</span></a><span class="c1"># a</span> | ||
<a href="#-9"><span class="linenos"> 9</span></a><span class="c1"># b</span> | ||
<a href="#-10"><span class="linenos">10</span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_1_start_8_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos"> 8</span><span class="c1"># a</span> | ||
<span class="linenos"> 9</span><span class="c1"># b</span> | ||
<span class="linenos">10</span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-8"><span class="linenos"> 8</span></a><span class="c1"># a</span> | ||
<a href="#-9"><span class="linenos special"> 9</span></a><span class="c1"># b</span> | ||
<a href="#-10"><span class="linenos">10</span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_1_start_8_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos"> 8</span><span class="c1"># a</span> | ||
<span class="linenos special"> 9</span><span class="c1"># b</span> | ||
<span class="linenos">10</span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-1"><span class="linenos"> </span></a><span class="c1"># a</span> | ||
<a href="#-2"><span class="linenos">2</span></a><span class="c1"># b</span> | ||
<a href="#-3"><span class="linenos"> </span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_2_start_1_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos"> </span><span class="c1"># a</span> | ||
<span class="linenos">2</span><span class="c1"># b</span> | ||
<span class="linenos"> </span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-1"><span class="linenos"> </span></a><span class="c1"># a</span> | ||
<a href="#-2"><span class="linenos">2</span></a><span class="c1"># b</span> | ||
<a href="#-3"><span class="linenos special"> </span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_2_start_1_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos"> </span><span class="c1"># a</span> | ||
<span class="linenos">2</span><span class="c1"># b</span> | ||
<span class="linenos special"> </span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-8"><span class="linenos"> 8</span></a><span class="c1"># a</span> | ||
<a href="#-9"><span class="linenos"> </span></a><span class="c1"># b</span> | ||
<a href="#-10"><span class="linenos">10</span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_2_start_8_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos"> 8</span><span class="c1"># a</span> | ||
<span class="linenos"> </span><span class="c1"># b</span> | ||
<span class="linenos">10</span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><a href="#-8"><span class="linenos"> 8</span></a><span class="c1"># a</span> | ||
<a href="#-9"><span class="linenos special"> </span></a><span class="c1"># b</span> | ||
<a href="#-10"><span class="linenos">10</span></a><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_cls_step_2_start_8_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight"><span class="filename">testfilename</span> | ||
<pre><span></span><span class="linenos"> 8</span><span class="c1"># a</span> | ||
<span class="linenos special"> </span><span class="c1"># b</span> | ||
<span class="linenos">10</span><span class="c1"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_1_start_1_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-1"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">1</span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-2"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-3"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">3</span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_1_start_1_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">1</span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">3</span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_1_start_1_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-1"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">1</span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-2"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-3"><span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;">3</span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_1_start_1_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">1</span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;">3</span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_1_start_8_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-8"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-9"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 9</span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-10"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_1_start_8_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 9</span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_1_start_8_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-8"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-9"><span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;"> 9</span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-10"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_1_start_8_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;"> 9</span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_2_start_1_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-1"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-2"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-3"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_2_start_1_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_2_start_1_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-1"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-2"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-3"><span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;"> </span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_2_start_1_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">2</span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;"> </span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_2_start_8_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-8"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-9"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-10"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_2_start_8_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> </span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...s/html_linenos_expected_output/inline_nocls_step_2_start_8_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><a href="#-8"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span></a><span style="color: #408080; font-style: italic"># a</span> | ||
<a href="#-9"><span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;"> </span></a><span style="color: #408080; font-style: italic"># b</span> | ||
<a href="#-10"><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span></a><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...html_linenos_expected_output/inline_nocls_step_2_start_8_special_3_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="highlight" style="background: #f8f8f8"><span class="filename">testfilename</span> | ||
<pre style="line-height: 125%;"><span></span><span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;"> 8</span><span style="color: #408080; font-style: italic"># a</span> | ||
<span style="color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px;"> </span><span style="color: #408080; font-style: italic"># b</span> | ||
<span style="color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px;">10</span><span style="color: #408080; font-style: italic"># c</span> | ||
</pre> | ||
</div> |
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
tests/html_linenos_expected_output/table_cls_step_1_start_1_special_0_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<table class="highlighttable"> | ||
<tr> | ||
<th colspan="2" class="filename"> | ||
<div class="highlight"> | ||
<span class="filename">testfilename</span> | ||
</div> | ||
</th> | ||
</tr><tr> | ||
<td class="linenos"> | ||
<div class="linenodiv"> | ||
<pre><span class="normal"><a href="#-1">1</a></span> | ||
<span class="normal"><a href="#-2">2</a></span> | ||
<span class="normal"><a href="#-3">3</a></span></pre> | ||
</div> | ||
</td> | ||
<td class="code"> | ||
<div class="highlight"> | ||
<pre><span></span><span class="c1"># a</span> | ||
<span class="c1"># b</span> | ||
<span class="c1"># c</span> | ||
</pre> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> |
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
tests/html_linenos_expected_output/table_cls_step_1_start_1_special_0_noanchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<table class="highlighttable"> | ||
<tr> | ||
<th colspan="2" class="filename"> | ||
<div class="highlight"> | ||
<span class="filename">testfilename</span> | ||
</div> | ||
</th> | ||
</tr><tr> | ||
<td class="linenos"> | ||
<div class="linenodiv"> | ||
<pre><span class="normal">1</span> | ||
<span class="normal">2</span> | ||
<span class="normal">3</span></pre> | ||
</div> | ||
</td> | ||
<td class="code"> | ||
<div class="highlight"> | ||
<pre><span></span><span class="c1"># a</span> | ||
<span class="c1"># b</span> | ||
<span class="c1"># c</span> | ||
</pre> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> |
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
tests/html_linenos_expected_output/table_cls_step_1_start_1_special_3_anchor_filename.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<table class="highlighttable"> | ||
<tr> | ||
<th colspan="2" class="filename"> | ||
<div class="highlight"> | ||
<span class="filename">testfilename</span> | ||
</div> | ||
</th> | ||
</tr><tr> | ||
<td class="linenos"> | ||
<div class="linenodiv"> | ||
<pre><span class="normal"><a href="#-1">1</a></span> | ||
<span class="normal"><a href="#-2">2</a></span> | ||
<span class="special"><a href="#-3">3</a></span></pre> | ||
</div> | ||
</td> | ||
<td class="code"> | ||
<div class="highlight"> | ||
<pre><span></span><span class="c1"># a</span> | ||
<span class="c1"># b</span> | ||
<span class="c1"># c</span> | ||
</pre> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> |
File renamed without changes.
Oops, something went wrong.