mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
e4b0e69724
Showdown now supports a simple HTML to Markdown converter. **Usage:** ``` var conv = new showdown.Converter(); var md = conv.makeMarkdown('<a href="/url">a link</a>'); ``` Closes #388, #233
22 lines
369 B
HTML
22 lines
369 B
HTML
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>head 1</th>
|
|
<th>head 2</th>
|
|
<th>head 3</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>foo</td>
|
|
<td><em>bar</em></td>
|
|
<td>baz</td>
|
|
</tr>
|
|
<tr>
|
|
<td><del>a</del></td>
|
|
<td><strong>b</strong></td>
|
|
<td><code>cccc</code></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|