mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #385] Support Reason Syntax in Snippets #174
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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
@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