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

Code Syntax Highlighting not working above v2.6.0 #458

Closed
dastasoft opened this issue Mar 23, 2021 · 6 comments
Closed

Code Syntax Highlighting not working above v2.6.0 #458

dastasoft opened this issue Mar 23, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@dastasoft
Copy link

  • Operating System: Linux Mint 20.1
  • Node Version: v15.12.0
  • Browser Name and Version: Google Chrome Version 89.0.4389.90

Expected Behavior

syntax highlighting for javascript blocks with configuration by default.

Actual Behavior

Appears without any syntax highlighting.

How can we reproduce the behavior?

I've tried with v2.7.0 and v2.8.1 and it's not working, but with version 2.6.0 it's okay, I tested directly with the init project.

Thanks!

@hiroppy
Copy link
Owner

hiroppy commented Mar 25, 2021

yeah, thank you for reporting. I've known this issue since I introduced to infer lang feature. I'll consider this solution soon.

@hiroppy hiroppy added the bug Something isn't working label Mar 25, 2021
@hiroppy
Copy link
Owner

hiroppy commented Mar 30, 2021

Thanks, I've fixed this issue and released it as v2.8.3.

@tshemeng
Copy link

tshemeng commented Apr 4, 2021

@hiroppy test on v2.8.3 default template, syntax highlighting not working.

@hiroppy
Copy link
Owner

hiroppy commented Apr 4, 2021

oh, I'll check it. Thank you for reporting.

@hiroppy
Copy link
Owner

hiroppy commented Apr 4, 2021

@tshemeng it seems working on fusuma@2.8.3.

@Zomboid999
Copy link

Zomboid999 commented Jul 7, 2021

@tshemeng it seems working on fusuma@2.8.3.

Hello. Everything seems to work except syntax hightlighting in Version 2.8.4.
-> Is this a known issue?

Thanks for help :)

update
it works neither the colored highlighting nor the line-numbering

code:
languages: # https://prismjs.com/
- javascript
- json
plugins:
- line-numbers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants