wooorm / markdown-rs

CommonMark compliant markdown parser in Rust with ASTs and extensions
https://docs.rs/markdown/1.0.0-alpha.18/markdown/
MIT License
836 stars 41 forks source link

API for creating extensions? #93

Closed tryoxiss closed 6 months ago

tryoxiss commented 6 months ago

Hi, I found this crate when looking for a markdown parser but my use case has needs beyond that of commonmark and the provided extensions. If there, or if not could there be, some sort of API to allow creation of custom syntax rules, e.g., callouts, <ins>/<del> tags, and whatever else people have need for on a more local basis?

ChristianMurphy commented 6 months ago

Thanks for reaching out @tryoxiss! This is a duplicate of https://github.com/wooorm/markdown-rs/issues/32, it is a goal to support plugins/extensions. Happy to discuss more there.