-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix code highlighting and linting errors #4657
Conversation
✅ Deploy Preview for prebid-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
<script src="{{site.baseurl}}/assets/js/jquery.min.js"></script> | ||
<script src="{{site.baseurl}}/assets/js/docs.min.js"></script> | ||
<script src="{{site.baseurl}}/assets/js/easing.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script> | ||
<script src="{{site.baseurl}}/assets/js/main.js"></script> | ||
<script type="text/javascript" src="{{site.baseurl}}/assets/js/pbjs_home.js"></script> | ||
<script type="text/javascript" src="/assets/js/video/pb-code-highlight.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A second code highlighting for no reason
@@ -34,13 +34,12 @@ | |||
<link href="{{site.baseurl}}/assets/images/apple-touch-icon.png" rel="apple-touch-icon"> | |||
|
|||
|
|||
<script src="{{site.baseurl}}/assets/js/prism.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should only be loaded once in the footer. This also speeds up rendering the page
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" /> | ||
<link href="{{site.baseurl}}/assets/css/prism.css" rel="stylesheet" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSS was missing
Apparently this only fixed code highlighting in the preview deployment and locally. The github pages html served is still missing the CSS and delivers the outdated JS. |
* fix examples markdown lint errors * Fix partners.md * Fix code hightlighting * Fix some linting errors in prebid-mobile
Fix code highlighting, update prism.js and load pism.css.
Relates to