-
Notifications
You must be signed in to change notification settings - Fork 526
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 highlighting needs additional css styles #5
Comments
How can we incorporate these styles? http://highlightjs.org/static/test.html |
Are you sure that you placed the link into the appropriate place? The index.php file in daux is a little confusing because it generates both the homepage and the documentation pages, so you have to make sure that you scroll far enough down so that you're editing the documentation pages, not just the homepage. Check View Source on your docs pages to make sure that highlight stylesheet is being loaded. |
Thank you for your assistance. I had trouble trying the style sheets on highlightjs' github. This is what ended up working, as long as the css file was downloaded directly from here: http://yandex.st/highlightjs/7.5/styles/ <!-- hightlight.js -->
<link rel="stylesheet" href="/docs/css/tomorrow-night.min.css">
<script src="/docs/js/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script> It looks awesome now! |
Just pull the css files needed from the 7.5 tag of highlight.js. |
Fixed with PR 118 |
Reported by reddit user:
The code formatting is working, but there are not enough style differences in our custom themes to make the code highlighting more visible.
Source
The text was updated successfully, but these errors were encountered: