patricoferris / hilite

Hilite - a simple code to HTML syntax highlighter
Other
19 stars 3 forks source link

Render highlighted source code as Tyxml #14

Closed Tim-ats-d closed 10 months ago

Tim-ats-d commented 1 year ago

Maybe in another package since it means adding a dependency

patricoferris commented 10 months ago

Hey @Tim-ats-d -- thanks for the issue, given the recent change to Cmarkit I think what would be needed here is a Cmarkit_tyxml renderer which could be used to take a Cmarkit.Doc.t to Tyxml. In which case, not sure there's much the Hilite package can do. Please do disagree if I've interpreted this incorrectly.