Skip to content

Commit

Permalink
[TASK] Add incomplete tests for MD table
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf authored and jaapio committed Oct 1, 2024
1 parent 9a8cac7 commit 5377caf
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
32 changes: 32 additions & 0 deletions tests/Integration/tests/markdown/table-md/expected/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!-- content start -->
<div class="section" id="table-markdown">
<h1>Table Markdown</h1>

<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>City</th>
</tr>
</thead>
<tbody>
<tr>
<td>John Doe</td>
<td>29</td>
<td>New York</td>
</tr>
<tr>
<td>Jane Smith</td>
<td>34</td>
<td>San Francisco</td>
</tr>
<tr>
<td>Sam Green</td>
<td>22</td>
<td>Boston</td>
</tr>
</tbody>
</table>
</div>
<!-- content end -->
7 changes: 7 additions & 0 deletions tests/Integration/tests/markdown/table-md/input/guides.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<guides xmlns="https://www.phpdoc.org/guides"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.phpdoc.org/guides packages/guides-cli/resources/schema/guides.xsd"
input-format="md"
>
</guides>
7 changes: 7 additions & 0 deletions tests/Integration/tests/markdown/table-md/input/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Table Markdown

| Name | Age | City |
|------------|-----|--------------|
| John Doe | 29 | New York |
| Jane Smith | 34 | San Francisco|
| Sam Green | 22 | Boston |
1 change: 1 addition & 0 deletions tests/Integration/tests/markdown/table-md/input/skip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Tables are currently not supported in Markdown

0 comments on commit 5377caf

Please sign in to comment.