mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[GH-ISSUE #1007] Syntax highlighting isn't working #442
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#442
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 @polsvoice on GitHub (Jun 15, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1007
Current behavior
All code blocks display as white text, regardless of which code block theme is chosen.

Expected behavior
The code should have the syntax highlighting shown in the settings.
Steps to reproduce
Environment
Desktop
@Komediruzecki commented on GitHub (Jun 15, 2021):
Hi, polsvoice,
It seems to work for me, can you please share the markdown content you are using to create the above screenshot? I will be able to pinpoint general issues in that case.
Maybe you idented it incorrectly or are using wrong tag for the language to highlight?
If you don't put a language to higlight it will probably look like the above screenshot, can you try this markdown:
For 'Dracula' the rendering should be like this:

@polsvoice commented on GitHub (Jun 15, 2021):
That works! I didn't realize that I needed to specify the language in the Markdown (since that wasn't required in the old Boostnote). Is there documentation of all of the supported languages? I couldn't find any.
@Komediruzecki commented on GitHub (Jun 16, 2021):
Hi,
glad to hear that, the application uses codemirror for code editor so this list should be supported: https://codemirror.net/mode/
I'll close this issue, please reopen if needed.