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
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:
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
Open BoostNote application
Create a new note from File --> New Note
Type code as in the screenshot below:
Environment
Desktop
Boost Note.next version: 0.20.2
OS version and name: Linux Mint 20.1 Ulyssa
The text was updated successfully, but these errors were encountered:
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.
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?
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:
`
`
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
Environment
Desktop
The text was updated successfully, but these errors were encountered: