mirror of
https://github.com/rowtype-yoga/purescript-mdast-util-from-markdown.git
synced 2024-11-25 08:34:00 +03:00
not really known
src/MdAst | ||
test | ||
.gitignore | ||
bower.json | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
packages.dhall | ||
README.md | ||
spago.dhall | ||
test.dhall |
purescript-mdast
Purescript wrapper for mdast-util-from-markdown. mdast-util-from-markdown
allows you to parse markdown into a markdown abstract syntaxt tree.
Usage
Due to mdast being esm only, you will have to install the mdast-util-from-markdown-face
node module from this repo.
# clone this repo
git clone https://github.com/sigma-andex/purescript-mdast-util-from-markdown.git
Add the repo to your packages.dhall
let upstream = ...
with mdast-util-from-markdown = ../purescript-mdast-util-from-markdown/spago.dhall as Location // You might need to adapt this path
Install mdast-util-from-markdown
with spago:
spago install mdast-util-from-markdown
Add the mdast-util-from-markdown-facade
to your package.json
"mdast-util-from-markdown-facade": "file:../purescript-mdast-util-from-markdown/mdast-util-from-markdown-facade",