You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks a lot for creating this project! I use it quite often to share code snippets on my X account. And I'm really grateful for you to implementing it and supporting my favourite languages!
Describe the bug
I noticed that the match keyword is not highlighted in OCaml code snippets. See the below example:
To Reproduce
Steps to reproduce the behavior:
Go to carbon.now.sh
Choose OCaml
Type simple code like let example = match 0 with 0 -> 0
First of all, thanks a lot for creating this project! I use it quite often to share code snippets on my X account. And I'm really grateful for you to implementing it and supporting my favourite languages!
Describe the bug
I noticed that the
match
keyword is not highlighted in OCaml code snippets. See the below example:To Reproduce
Steps to reproduce the behavior:
let example = match 0 with 0 -> 0
match
keyword is not highlightedExpected behavior
match
is highlighted as keywordScreenshots
Info (please complete the following information):
Possible culprit
I see that Carbon uses highlight.js here
carbon/lib/highlight-languages.js
Line 5 in 1334429
But looks like highlight.js actually recognieses
match
as a keyword, so I'm not sure what's happening.https://github.com/highlightjs/highlight.js/blob/62f8a60a302718b625fa6f81a0aae35cdf824fea/src/languages/ocaml.js#L20
The text was updated successfully, but these errors were encountered: