Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 935 Bytes

README.md

File metadata and controls

55 lines (36 loc) · 935 Bytes

mizu 💧

Version Downloads Downloads Downloads

Documentation

Mizu written by rust and used pulldown-cmark.

Installation

pip install mizu

Or

pip install "mizu @ git+https://github.com/tuna2134/mizu"

Performance

These performance test codes are in tests.

  • 3.10: 26ms
  • 3.11: 0.32ms
  • 3.12: 0.002ms

Example

Basic:

from mizu import Mizu


md = Mizu()
md.parse("# Hello tuna2134")

Extension:

from mizu import Mizu, Options


md = Mizu(Options(tasklists=True))
md.parse("""
[ ] - hello
[ ] - hi
""")