mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #1126] code segment not support golang very well #463
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#463
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 @wsqyouth on GitHub (Aug 30, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1126
the software is very cool
but the code segment do not support golang language
the color not support golang very well
IssueHunt Summary
Backers (Total: $10.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
@Komediruzecki commented on GitHub (Aug 30, 2021):
Hi,
The CodeMirror editor comes with the Go language mode as one of the supported languages,
Can you please be more specific and give examples of what is not supported very well, which parts aren't particularly well highlighted?
This way we can either improve it or see if it is possible to modify it to be even more correct.
Here is the example in Go code, seems fine to me:

@wsqyouth commented on GitHub (Aug 31, 2021):
yes,you really let me know how to use it. i want to know the file name suffix if has Influenced the highlighted,like

by the way, the code use what keyword ,i didnot see in the website,for example, i don't know use 'go' or 'golang'
thank you reply me in time, by the way, your golang code write very well!
@Komediruzecki commented on GitHub (Aug 31, 2021):
Hi,
Yes, unfortunately document title will not affect the document syntax highlight, because it is not a snippet note.
In boost note spaces, you need to explicitely name the mode you want to write something, there is a list of aliases which should work for mode though, but yes, typically the easiest distinct name is used, in this case 'go'.
If you have any more questions, let me know, otherwise we can close the issue.
I'll try to add mode actual names list and post it in wiki alongside link to modes.
@issuehunt-oss[bot] commented on GitHub (Sep 14, 2021):
@boostio has funded $10.00 to this issue.
@wsqyouth commented on GitHub (Sep 14, 2021):
please close it. thx,