-
Notifications
You must be signed in to change notification settings - Fork 564
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
feat(prettify) #398
feat(prettify) #398
Conversation
- Remove the custom_css - Add public cdn support - Only load prettify at post pages
- load prettify.js only at post - import prettify_css - remove custom_css
In the branch
as follows: source/css/prettify.css:In order to properly apply the various theme styles of prettify without being affected by other css styles, the file
and then compress source/css/prettify/*.min.cssIn order to properly apply the various theme styles of prettify without being affected by other css styles, the files layout/_partial/head.ejsAt line 138 of the file head.js, replace
with
At line 149 of the file head.js, replace
with
and at line 6 of the file, the following should be removed
|
@xiongxianzhu OK, got it. |
- fix prettify being affected by other styles - fix background in prettify theme - fix prettify theme import
Contributing rules
canary
. Then be sure to put thecanary
branch as the target for your pull request.Contributing rules
part from this descriptionWhat kind of change does this PR introduce? (check one with "x")
Does this PR introduce a breaking change? (check one with "x")
Description
Verification steps
No verification steps.