0.3.3 • Published 7 months ago

wasm_md_parser v0.3.3

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Markdown Parser (WIP)

Simple Markdown parser in rust which is compiled to wasm and presented to browser with svelte

To build just the rust part

  • cargo build
  • wasm-pack build

Run rust tests

cargo test

To setup frontend

cd web and yarn

To run every thing after compiling to wasm

cd web and yarn dev

Currently supports parsing

  • unordered lists
  • ordered lists
  • simple texts
  • Headings (#, ##, ###)
  • Bold text, **text**
  • Code `code`
  • Anchor Links (x)y

Using as an npm package

This is also published as an npm package. Can be used in frontend projects using

npm i -S wasm_md_parser

Preview

preview

Demo

demo

0.3.3

7 months ago

0.3.2

7 months ago

0.3.1

7 months ago

0.2.1

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago