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

Syntax highlighter not working #1246

Closed
smilegodly opened this issue Oct 26, 2020 · 3 comments
Closed

Syntax highlighter not working #1246

smilegodly opened this issue Oct 26, 2020 · 3 comments
Assignees
Labels
area: back-end type: bug Something isn't working

Comments

@smilegodly
Copy link
Contributor

What happened:

Was scrolling through dev and noticed no highlighting in the code blocks. Noticed it's also in prod.

What should have happened:
The syntax highlighter we use is https://highlightjs.org/ and the code should be the github highlight theme

How to reproduce it (as precise as possible):
look at the code blocks on dev / prod

Anything else we need to know?:
Here is a picture

image

And another

image

Environment:

  • OS:
  • Browser:
@smilegodly smilegodly added the type: bug Something isn't working label Oct 26, 2020
@smilegodly
Copy link
Contributor Author

smilegodly commented Oct 26, 2020

I'll work on this.

@smilegodly smilegodly changed the title Syntax highlighter not showing on code blocks Syntax highlighter not showing in the code blocks Oct 26, 2020
@smilegodly smilegodly changed the title Syntax highlighter not showing in the code blocks Syntax highlighter not working Oct 26, 2020
@manekenpix
Copy link
Member

@smilegodly All yours, thank you!

@humphd
Copy link
Contributor

humphd commented Oct 26, 2020

I screwed it up in this PR when I removed import 'highlight.js/styles/github.css';

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

No branches or pull requests

3 participants