[GH-ISSUE #385] Support Reason Syntax in Snippets #174

Closed
opened 2026-03-03 00:19:01 +03:00 by kerem · 2 comments
Owner

Originally created by @RawToast on GitHub (Mar 27, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/385

It would be nice to support ReasonML syntax in Snippets

I couldn't spot if you are using a library to do the syntax highlighting, but I know Reason is already supported by Prism, so other libraries should have support.

Originally created by @RawToast on GitHub (Mar 27, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/385 It would be nice to support [ReasonML syntax in Snippets ](https://github.com/facebook/reason) I couldn't spot if you are using a library to do the syntax highlighting, but I know Reason is already supported by Prism, so other libraries should have support.
kerem 2026-03-03 00:19:01 +03:00
Author
Owner

@Flexo013 commented on GitHub (Mar 27, 2020):

Boostnote is using CodeMirror for syntax highlighting. All supported languages are listed here:
https://codemirror.net/mode/index.html

If you want, you can request this to CodeMirror
https://github.com/codemirror/CodeMirror/issues

<!-- gh-comment-id:604962196 --> @Flexo013 commented on GitHub (Mar 27, 2020): Boostnote is using CodeMirror for syntax highlighting. All supported languages are listed here: https://codemirror.net/mode/index.html If you want, you can request this to CodeMirror https://github.com/codemirror/CodeMirror/issues
Author
Owner

@Rokt33r commented on GitHub (Mar 27, 2020):

@RawToast Codemirror doesn't accept mode requests anymore. https://github.com/codemirror/CodeMirror/issues/5546#issuecomment-416152456
So you need to find a custom syntax mode for ReasonML. I googled but nothing has found. If you really need it, you have to make the mode first. Once you make, please reopen this issue again so we can introduce the mode you make.

CC:@Flexo013

<!-- gh-comment-id:604973603 --> @Rokt33r commented on GitHub (Mar 27, 2020): @RawToast Codemirror doesn't accept mode requests anymore. https://github.com/codemirror/CodeMirror/issues/5546#issuecomment-416152456 So you need to find a custom syntax mode for ReasonML. I googled but nothing has found. If you really need it, you have to make the mode first. Once you make, please reopen this issue again so we can introduce the mode you make. CC:@Flexo013
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#174
No description provided.