Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

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 [email protected].

@Zomboid999
Copy link

Zomboid999 commented Jul 7, 2021

@tshemeng it seems working on [email protected].

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants