mmark-md / mmark

Strict markdown processor for writers
Other
111 stars 20 forks source link

Implement Monadic Extensions/Rendering #117

Open emekoi opened 4 months ago

emekoi commented 4 months ago

Closes #46.

I hadn't seen #74 until now, but it seems this is more or less the same idea. So most of the comments on it still apply. Instead of duplicating the API we could just expose the monadic interface, but I'm concerned that the usability for those not so familiar with monad transformers and the like, might suffer. However, I didn't want to break the existing API.

A couple of other things: