SourceCodeSyntaxHighlight
SourceCodeSyntaxHighlight copied to clipboard
Weird RTF dark scheme behavior
Version 2.1.24 (73) macOS 15.1.1
Changing dark scheme only affects the font colors and fails to change the background of the preview. Only happens on RFT render engine.
No customized formats or colors, happens with all files.
Reinstall, reboot, disabling and re-adding permissions, and disabling other QL extensions didn't help.
https://github.com/user-attachments/assets/66552ecf-ad34-48bd-ad3c-f2fa54f14310
This is a macOS behavior that automatically alters the background color on rtf text field. I suggest to use the html rendering engine. RTF was used in older versions of macOS to work around a number of bugs in html formatting. I will probably remove the ability to use the rtf engine altogether in the future.
Thanks for the clarification! It seems that Sequoia broke this finally.
However, two things:
- I've noticed that HTML rendering is a bit slower than RFT for me – is that possible?
- Is there an option to remove the footer in the HTML preview?
Thanks for the clarification! It seems that Sequoia broke this finally.
However, two things:
1. I've noticed that HTML rendering is a bit slower than RFT for me – is that possible?
I have never done a speed test...
2. Is there an option to remove the footer in the HTML preview?
On the general settings, uncheck "show about info".
Known issue https://github.com/sbarex/SourceCodeSyntaxHighlight/issues/202
On the general settings, uncheck "show about info".
Only works if you enable advanced settings in the menu View > Show advanced settings
I will probably remove the ability to use the rtf engine altogether in the future.
@sbarex please bear in mind that although HTML rendering shows a better result, it doesn't render the text in the file icon like RTF does
With HTML:
With RTF: