Socket
Socket
Sign inDemoInstall

remark-gfm

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-gfm

remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)


Version published
Weekly downloads
3.5M
increased by0.03%
Maintainers
2
Weekly downloads
 
Created

What is remark-gfm?

The remark-gfm npm package is a plugin for remark, a markdown processor powered by plugins part of the unified collective. It adds support for GitHub Flavored Markdown (GFM) to remark, enabling additional syntax features that are commonly used on GitHub.

What are remark-gfm's main functionalities?

Table

Enables support for GFM tables, allowing you to create tables in markdown.

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |').toString();

Strikethrough

Adds the ability to use strikethrough text using double tildes (~~).

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('~~Strikethrough~~').toString();

Tasklist

Supports task lists with checkboxes, a common feature in GitHub issue and pull request comments.

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('- [ ] todo item
- [x] done item').toString();

Autolink Literals

Automatically converts URLs and email addresses into links.

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('Autolink: https://example.com').toString();

Other packages similar to remark-gfm

Keywords

FAQs

Package last updated on 03 Nov 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc