8000 GitHub - moonbit-community/cmark.mbt: Cmark.mbt is a CommonMark toolkit for MoonBit.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

moonbit-community/cmark.mbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmark

Cmark is a CommonMark toolkit for the MoonBit programming language, started as a MoonBit rewrite of the cmarkit library from the OCaml ecosystem.

So far, it supports the following use cases:

  • Parsing CommonMark documents with best-effort source-aware layout preservation:
  • Rendering CommonMark documents via the Renderer API, along with a ready-to-use HTML renderer.

Supported CommonMark features include:

  • Vanilla CommonMark syntax;
  • Common syntax extensions, including:
    • Strikethroughs
    • Task lists
    • Footnotes
    • Tables
    • Inline math
    • Math blocks

Building

To begin, you will need to install a recent MoonBit toolchain. To do so, please refer to instructions at MoonBit's official website.

Also, a Python installation is required to run the pre-build scripts. You can find relevant instructions from Python's official website.

Once you have the toolchain installed, you can build this p 79F1 roject by running the following command:

moon build

Testing

With the MoonBit toolchain installed, you can run the tests by executing the following command:

moon test

Acknowledgements

cmark is built on top several pre-existing projects. Thanks go to:

About

Cmark.mbt is a CommonMark toolkit for MoonBit.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0