Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 549 Bytes

File metadata and controls

21 lines (18 loc) · 549 Bytes

Converts HTML Tables to Markdown.

Paste in the raw HTML for the table you want to convert, e.g.:

<table>
  <tr><th>One</th><th>Two</th><th>Three</th></tr>
  <tr><td>Apples</td><td>Oranges</td><td>Pears</td></tr>
  <tr><td>Cakes</td><td>Donuts</td><td>Sweet Bread</td></tr>
</table>

Produces something like:

| One    | Two     | Three       |
| ------ | ------- | ----------- |
| Apples | Oranges | Pears       |
| Cakes  | Donuts  | Sweet Bread |

Demo: