mmark icon indicating copy to clipboard operation
mmark copied to clipboard

Expose Internal Modules

Open emekoi opened this issue 1 year ago • 0 comments

Would it be possible to expose the modules:

  • Text.MMark.Render
  • Text.MMark.Trans
  • Text.MMark.Type

I want to implement custom rendering logic, generating different header ids than what mmark does as well as header anchors. While this is currently possible using blockRender and discarding the old rendering function, that isn't really compositional and relies on manually inserting a "reset" pass to replace the default render function. Furthermore, exposing these modules allows users to write monadic rendering passes if they need them.

emekoi avatar Jul 02 '24 00:07 emekoi