Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bug report) Syntax Highlight for Certain Languages Don't Work Under Their Own Labels #949

Open
Lolabird opened this issue Jan 15, 2025 · 0 comments

Comments

@Lolabird
Copy link

Description

I was thinking about adding this issue to my other bug report, but figured it was different enough to warrant its own issue.

There are also a few languages like PHP that appear to work under the "Autodetect" function, but not under their respective labels. So far I've noticed this for

  • HTTP
  • PHP
  • Sass
  • TypeScript-JSX

Just in case you want to do your own tests, I've already tested this on the above languages, plus

  • the JavaScript family of languages
  • Python and Django
  • JSON
  • CSS family of languages
  • SQL family of languages
  • Shell and Powershell
  • YAML
  • XML

Everything I tested except the four mentioned earlier seem to render syntax highlighting properly in text note code blocks. I haven't tested everything, though, so I'm not sure if any other language is having this issue.

TriliumNext Version

0.90.12

What operating system are you using?

Other Linux

What is your setup?

Local + server sync

Operating System Version

Debian 12 Bookworm with Dockerized server installation

Error logs

No response

@eliandoran eliandoran added the bug label Jan 17, 2025
@eliandoran eliandoran removed the bug label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants