@xieyuheng/x-markdown
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

X Markdown

A stable Markdown AST to protect myself from switching upstream parser and upstream API changes.

Install

npm i @xieyuheng/x-markdown

The AST

Overview

Document

Nodes

  • ContainerBlock

    • BlockQuote
    • List
    • Item
    • OrderedList
    • OrderedItem
  • LeafBlock

    • Paragraph
    • Table
    • ThematicBreak
    • Headline
    • CodeBlock
    • HtmlBlock
  • Inline

    • Code
    • Emphasis
    • Strong
    • Link
    • Image
    • HardLineBreak
    • SoftLineBreak
    • Text
    • HtmlInline
    • FootnoteRef

One By One

TODO

References

Development

npm install           # Install dependencies
npm run build         # Compile `src/` to `lib/`
npm run build:watch   # Watch the compilation
npm run format        # Format the code
npm run test          # Run test
npm run test:watch    # Watch the testing

Contributions

To make a contribution, fork this project and create a pull request.

Please read the STYLE-GUIDE.md before you change the code.

Remember to add yourself to AUTHORS. Your line belongs to you, you can write a little introduction to yourself but not too long.

License

GPLv3

Readme

Keywords

none

Package Sidebar

Install

npm i @xieyuheng/x-markdown

Weekly Downloads

1

Version

0.3.2

License

GPL-3.0-or-later

Unpacked Size

241 kB

Total Files

408

Last publish

Collaborators

  • xieyuheng