micromark-core-commonmark
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.6 • Public • Published

    micromark-core-commonmark

    Build Coverage Downloads Size Sponsors Backers Chat

    The core CommonMark constructs needed to tokenize markdown. Some of these can be turned off, but they are often essential to markdown and weird things might happen.

    Contents

    Install

    npm:

    npm install micromark-core-commonmark

    Use

    import {autolink} from 'micromark-core-commonmark'
    
    console.log(autolink) // Do things with `autolink`.

    API

    This module exports the following identifiers: attention, autolink, blankLine, blockQuote, characterEscape, characterReference, codeFenced, codeIndented, codeText, content, definition, hardBreakEscape, headingAtx, htmlFlow, htmlText, labelEnd, labelStartImage, labelStartLink, lineEnding, list, setextUnderline, thematicBreak. There is no default export.

    Each identifier refers to a construct.

    See the code for more on the exported constructs.

    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

    Install

    npm i micromark-core-commonmark

    DownloadsWeekly Downloads

    889,058

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    204 kB

    Total Files

    94

    Last publish

    Collaborators

    • wooorm