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

Add serde annotations for configuration #69

Open byhemechi opened 1 year ago

byhemechi commented 1 year ago

The title pretty much explains it all, I'd love if it were possible to deserialise configuration with serde so that it can be exposed directly to things like WebAssembly

I'm happy to do this myself, I am just throwing this issue here before i get into it in case there are reasons to not do it/do it in a specific way

:)

wooorm commented 1 year ago

Hi! Yeah, seems like a good idea. I don’t see why not. (Assuming that serde remains an optional feature?)

byhemechi commented 1 year ago

alright, i'll get into it.

(Assuming that serde remains an optional feature?)

of course 👍

byhemechi commented 1 year ago

70