Gathering detailed insights and metrics for gatsby-remark-grid-tables
Gathering detailed insights and metrics for gatsby-remark-grid-tables
Gathering detailed insights and metrics for gatsby-remark-grid-tables
Gathering detailed insights and metrics for gatsby-remark-grid-tables
cross-env
Run scripts that set and use environment variables across platforms
remark-gfm
remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)
gatsby-transformer-remark
Gatsby transformer plugin for Markdown using the Remark library and ecosystem
remark-lint-no-table-indentation
remark-lint rule to warn when tables are indented
npm install gatsby-remark-grid-tables
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
5 Stars
13 Commits
3 Watching
5 Branches
1 Contributors
Updated on 31 Jan 2023
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
47.1%
25
Compared to previous day
Last week
15.7%
133
Compared to previous week
Last month
-35.5%
528
Compared to previous month
Last year
-42.5%
4,395
Compared to previous year
2
3
This plugin parses custom Markdown syntax to describe tables. It just includes this package in the gatsby-remark chain
It's useful for extending markdown tables to include things like rowspan, colspan etc.
It adds a new node type to the mdast produced by remark: gridTable
.
A gridTable
mdast node can contain the following mdast node types:
tableHeader
tableRow
tableCell
The stringified HTML result will be a table
.
It is up to you to have CSS rules producing the desired result for these table
.
For example:
1# Grid table 2 3## Basic example 4 5+-------+----------+------+ 6| Table Headings | Here | 7+-------+----------+------+ 8| Sub | Headings | Too | 9+=======+==========+======+ 10| cell | column spanning | 11+ spans +----------+------+ 12| rows | normal | cell | 13+-------+----------+------+ 14| multi | cells can be | 15| line | *formatted* | 16| | **paragraphs** | 17| cells | | 18| too | | 19+-------+-----------------+
produces:
1<h1>Grid table</h1> 2<h2>Basic example</h2> 3 4<table> 5 <thead> 6 <tr> 7 <th colspan="2" rowspan="1"><p>Table Headings</p></th> 8 <th colspan="1" rowspan="1"><p>Here</p></th> 9 </tr> 10 <tr> 11 <th colspan="1" rowspan="1"><p>Sub</p></th> 12 <th colspan="1" rowspan="1"><p>Headings</p></th> 13 <th colspan="1" rowspan="1"><p>Too</p></th> 14 </tr> 15 </thead> 16 <tbody> 17 <tr> 18 <td colspan="1" rowspan="2"><p>cell 19spans 20rows</p></td> 21 <td colspan="2" rowspan="1"><p>column spanning</p></td> 22 </tr> 23 <tr> 24 <td colspan="1" rowspan="1"><p>normal</p></td> 25 <td colspan="1" rowspan="1"><p>cell</p></td> 26 </tr> 27 <tr> 28 <td colspan="1" rowspan="1"><p>multi 29line</p><p>cells 30too</p></td> 31 <td colspan="2" rowspan="1"><p>cells can be 32<em>formatted</em> 33<strong>paragraphs</strong></p></td> 34 </tr> 35 </tbody> 36</table>
Note: the top of a cell must be indicated by +-
followed by some -
or +
and finished by -+
.
So, this is not a correct cell:
1+--+
2|a |
3+--+
But, this is a correct cell:
1+---+
2| a |
3+---+
npm:
1npm install remark-grid-tables
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More