micromark-util-combine-extensions
micromark utility to combine syntax or html extensions
Last updated 4 years ago by wooorm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install micromark-util-combine-extensions 
SYNC missed versions from official npm registry.

micromark-util-combine-extensions

Build Coverage Downloads Size Sponsors Backers Chat

micromark utility to combine syntax or html extensions.

Contents

Install

npm:

npm install micromark-util-combine-extensions

Use

import {gfmAutolinkLiteral} from 'micromark-extension-gfm-autolink-literal'
import {gfmStrikethrough} from 'micromark-extension-gfm-strikethrough'
import {gfmTable} from 'micromark-extension-gfm-table'
import {gfmTaskListItem} from 'micromark-extension-gfm-task-list-item'
import {combineExtensions} from 'micromark-util-combine-extensions'

const gfm = combineExtensions([gfmAutolinkLiteral, gfmStrikethrough(), gfmTable, gfmTaskListItem])

API

This module exports the following identifiers: combineExtensions, combineHtmlExtensions. There is no default export.

combineExtensions(extensions)

Combine several syntax extensions into one.

Parameters
  • extensions (Extension[]) — List of syntax extensions
Returns

A single combined extension (Extension).

combineHtmlExtensions(htmlExtensions)

Combine several html extensions into one.

Parameters
  • htmlExtensions (HtmlExtension[]) — List of html extensions
Returns

A single combined html extension (HtmlExtension).

Security

See security.md in micromark/.github for how to submit a security report.

Contribute

See contributing.md in micromark/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.

License

MIT © Titus Wormer

Current Tags

  • 1.0.0                                ...           latest (3 years ago)
  • 1.0.0-beta.1                                ...           next (3 years ago)

5 Versions

  • 1.0.0                                ...           3 years ago
  • 1.0.0-beta.1                                ...           3 years ago
  • 1.0.0-alpha.3                                ...           3 years ago
  • 1.0.0-alpha.2                                ...           4 years ago
  • 1.0.0-alpha.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |