Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
markdown-it-multimd-table
Advanced tools
Multimarkdown table syntax plugin for markdown-it markdown parser
Multimarkdown table syntax plugin for markdown-it markdown parser
Bored with HTML table tags when I need some extended table functions like colspan
in Markdown. I found that MultiMarkdown had defined complete and clear rules for advanced table syntax, which is compatible to standard Markdown table syntax at the same time.
For example, the following features are given:
colspan
attribute<thead>
and <tbody>
So I altered the table parser in markdown-it for the Multimarkdown syntax.
NOTE: This plugin might behave differently from MultiMarkdown for some edging cases; For this plugin was developed mainly under the rules in MultiMarkdown User's Guide. Please impose an issue if you find problems related.
var md = require('markdown-it')()
.use(require('markdown-it-multimd-table'));
md.render(/*...*/)
For test, do this in terminal:
$ npm install markdown-it-multimd-table --prefix .
$ vim test.js
var md = require('markdown-it')()
.use(require('markdown-it-multimd-table'));
const exampleTable =
"| | Grouping || \n" +
"First Header | Second Header | Third Header | \n" +
" ------------ | :-----------: | -----------: | \n" +
"Content | *Long Cell* || \n" +
"Content | **Cell** | Cell | \n" +
" \n" +
"New section | More | Data | \n" +
"And more | With an escaped '\\|' ||\n" +
"[Prototype table] \n";
console.log(md.render(exampleTable));
$ node test.js > test.html
$ firefox test.html
This software is licensed under the MIT license © RedBug312.
FAQs
Multimarkdown table syntax plugin for markdown-it markdown parser
The npm package markdown-it-multimd-table receives a total of 12,312 weekly downloads. As such, markdown-it-multimd-table popularity was classified as popular.
We found that markdown-it-multimd-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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.