Skip to content
master
Switch branches/tags
Code
This branch is 1 commit ahead, 8 commits behind johnbeech:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

html-table-to-markdown-converter

Converts HTML tables to Markdown. Paste table HTML in, click Convert.

Latest release

1.0.0

See:

Example

Sample HTML input taken from Chrome Right Click > Inspect.

<table>
<thead>
<tr>
  <th>Heading</th>
  <th>Verified</th>
</tr>
</thead>
<tbody>
<tr>
  <td>Row 1</td>
  <td>Yes</td>
</tr>
<tr>
  <td>Row 2</td>
  <td>No</td>
</tr>
<tr>
  <td>Row 3</td>
  <td>Maybe</td>
</tr>
</tbody>
</table>

Output:

| Heading | Verified |
| --- | --- |
| Row 1 | Yes |
| Row 2 | No |
| Row 3 | Maybe |

Output rendered as markdown:

Heading Verified
Row 1 Yes
Row 2 No
Row 3 Maybe

Wishlist

  • Pretty format the output
  • Provide option to remove the opening | for multi-column tables

About

Converts HTML tables to Markdown. Paste in, click Convert.

Resources

Packages

No packages published

Languages