tepbyte-markdown
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Tepbyte Markdown

Usage

import { markdownProcessor } from "tepbyte-markdown";

await markdownProcessor().parse("# Hello World");

Result:

{
  "type": "root",
  "toc": [{ "id": "hello-world", "depth": 1, "label": "Hello World" }],
  "children": [
    {
      "type": "heading",
      "depth": 1,
      "id": "hello-world",
      "children": [{ "type": "text", "value": "Hello World" }]
    }
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i tepbyte-markdown

Weekly Downloads

2

Version

0.1.5

License

none

Unpacked Size

724 kB

Total Files

8

Last publish

Collaborators

  • cano