@textlint/markdown-to-ast

  • Version 12.0.2
  • Published
  • 32 kB
  • 8 dependencies
  • MIT license

Install

npm i @textlint/markdown-to-ast
yarn add @textlint/markdown-to-ast
pnpm add @textlint/markdown-to-ast

Overview

Parse Markdown to AST with location info.

Index

Functions

Functions

function parse

parse: <T extends any>(text: string) => T;
  • parse markdown text and return ast mapped location info.

    Parameter text

    Returns

    {TxtNode}

Package Files (1)

Dependencies (8)

Dev Dependencies (13)

Peer Dependencies (0)

No peer dependencies.

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@textlint/markdown-to-ast.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@textlint/markdown-to-ast)
  • HTML
    <a href="https://www.jsdocs.io/package/@textlint/markdown-to-ast"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>