npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

markdown-it-table-x

v0.1.6

Published

[![NPM version](https://img.shields.io/npm/v/markdown-it-table-x.svg?style=flat-square&color=green)](https://www.npmjs.org/package/markdown-it-table-x)

Downloads

10

Readme

markdown-it-table-x

NPM version

:star: Caution: The plugin is usable but not perfect. There may be conflicts with other markdown plugin. I don't have enough testing in my project

Install

yarn add markdown-it-table-x

Example

markup must start on the first character of the line

{| class="html_attrs_in_table_tag success" style="height:12rem;" align="right"
! class="html_attrs_in_th_tag" align="center" || Name
! Description
|-
!class="html_attrs_in_th_tag" || *row-1-col-1*
|*here is td tag*
|-
!here is th tag
|class="html_attrs_in_td_tag" align="right"
* Embedding markdown content.
* Embedding markdown content.
 ![space_on_first_character]()
|}

rendered as

<table class="html_attrs_in_table_tag success" style="height:12rem;" align="right">
    <tbody>
        <tr>
            <th class="html_attrs_in_th_tag" align="center">Name</th>
            <th>Description</th>
        </tr>
        <tr>
            <th class="html_attrs_in_th_tag"><em>row-1-col-1</em></th>
            <td><em>here is td tag</em></td>
        </tr>
        <tr>
            <th>here is th tag</th>
            <td class="html_attrs_in_td_tag" align="right">
                <ul>
                    <li>Embedding markdown content.</li>
                    <li>Embedding markdown content.</li>
                </ul>
                <p><img src="" alt="space_on_first_character"></p>
            </td>
        </tr>
    </tbody>
</table>

Params

  • attrSeparate - custom attribute separate (default: || )
  • allowedAttrs - custom alloowed attributes (default: ['id', 'class', 'style', 'width', 'height', 'align', 'rowspan', 'colspan'], set [] for allow all)