
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
showdown-table
Advanced tools
Add markdown table flavor to showdown
Adds support for:
| Col 1 | Col 2 |
|======== |====================================================|
|**bold** | ![Valid XHTML] (http://w3.org/Icons/valid-xhtml10) |
| Plain | Value |
npm install showdown-table
bower install showdown-table
You can also download the latest release zip or tarball and include it in your webpage, after showdown:
<script src="showdown.min.js">
<script src="showdown-table.min.js">
After including the extension in your application, you just need to enable it in showdown.
var converter = new showdown.Converter({extensions: ['table']});
var converter = new showdown.Converter({extensions: ['table']}),
input = '| Col 1 | Col 2 |' +
'|======== |====================================================|' +
'|**bold** | ![Valid XHTML] (http://w3.org/Icons/valid-xhtml10) |' +
'| Plain | Value |';
html = converter.makeHtml(input);
console.log(html);
This should output the equivalent to:
<table>
<tr>
<td>Col 1</td>
<td>Col 2</td>
</tr>
<tr>
<td><strong>bold</strong></td>
<td><img alt="Valid XHTML" src="http://w3.org/Icons/valid-xhtml10"></td>
</tr>
<tr>
<td>Plain</td>
<td>Value</td>
</tr>
</table>
These files are distributed under BSD license. For more information, please check the LICENSE file in the source code.
1.0.1 (2015-06-17)
<a name"1.0.0"></a>
FAQs
Add markdown table flavor to showdown
The npm package showdown-table receives a total of 28 weekly downloads. As such, showdown-table popularity was classified as not popular.
We found that showdown-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.