Socket
Book a DemoInstallSign in
Socket

remark-gfm

Package Overview
Dependencies
Maintainers
3
Versions
6
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)

4.0.1
latest
Source
npmnpm
Version published
Weekly downloads
6.6M
-1.13%
Maintainers
3
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

autolink

FAQs

Package last updated on 10 Feb 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.