patricoferris / hilite

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

Cmarkit branch not rederering content #15

Closed oyenuga17 closed 12 months ago

oyenuga17 commented 1 year ago

Hi @patricoferris thank you for this amazing tool 😊 I tried to pin and use the cmarkit branch of hilite here on ocaml.org. but it doesn't render the contents passed through it. Do you have any pointers on how I can use this?

Here is how I try to use it: https://github.com/ocaml/ocaml.org/blob/c7fb5b0de75f37d325f9c8a4846dc8c6c81e65d1/tool/ood-gen/lib/changelog.ml#L25-L46

Here is the behavior I'm experiencing:

Before

Screenshot 2023-10-18 at 17 10 17

After

Screenshot 2023-10-18 at 17 12 02
patricoferris commented 12 months ago

Thanks for the issue @oyenuga17 -- think we hammered out all the issues on ocaml.org and will merge #11 shortly and cut a release. Thank you for the help and groundwork here, it was incredibly useful and the only reason this change is being upstreamed and published.