$ gnpm install micromark-util-combine-extensions
micromark utility to combine syntax or html extensions.
npm:
npm install micromark-util-combine-extensions
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])
This module exports the following identifiers: combineExtensions
,
combineHtmlExtensions
.
There is no default export.
combineExtensions(extensions)
Combine several syntax extensions into one.
extensions
(Extension[]
) — List of syntax extensionsA single combined extension (Extension
).
combineHtmlExtensions(htmlExtensions)
Combine several html extensions into one.
htmlExtensions
(HtmlExtension[]
) — List of html extensionsA single combined html extension (HtmlExtension
).
See security.md
in micromark/.github
for how to
submit a security report.
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.
Copyright 2013 - present © cnpmjs.org | Home |