[GH-ISSUE #1054] Boostnote syntax highlighting query #456

Closed
opened 2026-03-03 00:21:17 +03:00 by kerem · 3 comments
Owner

Originally created by @4e696e6a6121 on GitHub (Jul 18, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1054

Current behavior

I am not able to syntax highlight code that I type within a code fence. I understand that PowerShell is supported as a language that can be syntax highlighted. However, I am unable to find any reference article that explains what tagging I am supposed to be using to enable this feature.

If I code fence a bash line then it seems to work as below:

`

g++ -O -Wall input.C -o executable

`
If I try with PowerShell like below:

`


Connect-ExchangeOnline

`

Then it is just displays as plain text. The fact that I am using the "ps1" tag is a pure guess as I cannot seem to find a reference
of tags that I am suppose to be using for any particular language that I may want syntax highlighting enabled within a code fence.
I have tried "Powershell" and "PS" but to no avail.

I found a web link that seems to explain language selection:

https://medium.com/boostnote/how-to-set-syntax-highlight-in-snippet-note-1cf3f6eb7fe4
https://github.com/BoostIO/Boostnote/wiki/Syntax-Highlighting

But I cannot seem to find the pull out menu of all the languages as described within the screenshot.

Expected behavior

I would expect a list of tags/languages to be available within the application which would allow me to syntax highlight the code within it's code fence.

Steps to reproduce

  1. Open BoostNote application
  2. Create a new note from File --> New Note
  3. Type code as in the screenshot below:
    image

Environment

Desktop

  • Boost Note.next version: 0.20.2
  • OS version and name: Linux Mint 20.1 Ulyssa
Originally created by @4e696e6a6121 on GitHub (Jul 18, 2021). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1054 # Current behavior I am not able to syntax highlight code that I type within a code fence. I understand that PowerShell is supported as a language that can be syntax highlighted. However, I am unable to find any reference article that explains what tagging I am supposed to be using to enable this feature. If I code fence a bash line then it seems to work as below: ` ```sh g++ -O -Wall input.C -o executable ``` ` If I try with PowerShell like below: ` ```ps1 Connect-ExchangeOnline ``` ` Then it is just displays as plain text. The fact that I am using the "ps1" tag is a pure guess as I cannot seem to find a reference of tags that I am suppose to be using for any particular language that I may want syntax highlighting enabled within a code fence. I have tried "Powershell" and "PS" but to no avail. I found a web link that seems to explain language selection: [https://medium.com/boostnote/how-to-set-syntax-highlight-in-snippet-note-1cf3f6eb7fe4](url) [https://github.com/BoostIO/Boostnote/wiki/Syntax-Highlighting](url) But I cannot seem to find the pull out menu of all the languages as described within the screenshot. # Expected behavior I would expect a list of tags/languages to be available within the application which would allow me to syntax highlight the code within it's code fence. # Steps to reproduce <!-- Please be thorough, issues we can reproduce are easier to fix! --> 1. Open BoostNote application 2. Create a new note from File --> New Note 3. Type code as in the screenshot below: ![image](https://user-images.githubusercontent.com/87609231/126071816-3180efb6-654d-4d5c-98e0-b323d2a9670c.png) # Environment ## Desktop - Boost Note.next version: 0.20.2 - OS version and name: Linux Mint 20.1 Ulyssa
kerem closed this issue 2026-03-03 00:21:18 +03:00
Author
Owner

@Komediruzecki commented on GitHub (Jul 18, 2021):

Hi,

The list of modes can be found here: https://codemirror.net/mode/

As the editor is code mirror, I agree it would be good to include this link or list of available modes in general within app or in tutorial section, I'll see what I can do with that.

<!-- gh-comment-id:882080951 --> @Komediruzecki commented on GitHub (Jul 18, 2021): Hi, The list of modes can be found here: https://codemirror.net/mode/ As the editor is code mirror, I agree it would be good to include this link or list of available modes in general within app or in tutorial section, I'll see what I can do with that.
Author
Owner

@4e696e6a6121 commented on GitHub (Jul 18, 2021):

Hi @Komediruzecki ,

The link works a treat! 👍 I am new to this platform so would you like me to close this issue if you have this improvement recorded anywhere else or should I wait for your confirmation?

Many thanks,

<!-- gh-comment-id:882106506 --> @4e696e6a6121 commented on GitHub (Jul 18, 2021): Hi @Komediruzecki , The link works a treat! :+1: I am new to this platform so would you like me to close this issue if you have this improvement recorded anywhere else or should I wait for your confirmation? Many thanks,
Author
Owner

@Komediruzecki commented on GitHub (Jul 19, 2021):

Hi,

No problem,

I'll close it and add this to documentation soon.

<!-- gh-comment-id:882613807 --> @Komediruzecki commented on GitHub (Jul 19, 2021): Hi, No problem, I'll close it and add this to documentation soon.
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#456
No description provided.