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

Styling has Disappeared Since 1.5 #28

Open
NickSchick opened this issue Mar 4, 2021 · 2 comments
Open

Styling has Disappeared Since 1.5 #28

NickSchick opened this issue Mar 4, 2021 · 2 comments

Comments

@NickSchick
Copy link

NickSchick commented Mar 4, 2021

Hey - upgraded this plugin to the latest version v1.5.0 however it seems to have lost its ability to style <pre> text.

I have the site in a dev location and production one running the older version of the plugin and when you inspect the page you find that it is reading CSS stile from .hljs (in my case style sheet vs2015).

In 1.5 there this style sheet simply is not included.

I have tried:

  • Clear Cache
  • Disabled CSS & JS Pipeline
  • Custom Base URL changed to empty

I simply can't get the style sheet included. Any help would be much appreciated. Thanks

@rhukster
Copy link
Member

Try changing the theme. for example 'default':

enabled: true
theme: monokai
lines: false

CleanShot 2021-03-10 at 16 09 17@2x

@NickSchick
Copy link
Author

It seems that switching to default is correcting the issue.

I would like to continue to you our Gantry Theme instead of Antimatter.

The issue seems to be that the <code> class is not including the 'hljs' class. Once added manually it to work perfectly.

Not sure where or how this class is added, maybe you could in the right direction? Thanks

@NickSchick NickSchick reopened this May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants