File tree Expand file tree Collapse file tree 4 files changed +23
-10
lines changed
Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ post_asset_folder: true
3939relative_link : false
4040future : true
4141highlight :
42- enable : true
43- line_number : true
44- auto_detect : true
45- tab_replace : true
42+ enable : false
43+ prism_plugin :
44+ mode : preprocess
45+ theme : okaidia
4646
4747# Home page setting
4848# path: Root path for your blogs index page. (default = '')
Original file line number Diff line number Diff line change 1010 "doc" : " source/_post/"
1111 },
1212 "hexo" : {
13- "version" : " 4.2.0 "
13+ "version" : " 4.2.1 "
1414 },
1515 "dependencies" : {
1616 "cheerio" : " ^1.0.0-rc.3" ,
17- "hexo" : " ^4.2.0 " ,
17+ "hexo" : " ^4.2.1 " ,
1818 "hexo-auto-category" : " ^0.2.0" ,
1919 "hexo-deployer-git" : " ^2.1.0" ,
2020 "hexo-generator-archive" : " ^1.0.0" ,
2323 "hexo-generator-index" : " ^1.0.0" ,
2424 "hexo-generator-slidehtml" : " 0.0.62" ,
2525 "hexo-generator-tag" : " ^1.0.0" ,
26- "hexo-migrator-web" : " ^0.4.7 " ,
26+ "hexo-migrator-web" : " ^1.0.3 " ,
2727 "hexo-permalink-pinyin" : " ^1.1.0" ,
28+ "hexo-prism-plugin" : " ^2.3.0" ,
2829 "hexo-reference" : " ^1.0.4" ,
2930 "hexo-renderer-ejs" : " ^1.0.0" ,
3031 "hexo-renderer-marked" : " ^2.0.0" ,
4546 }
4647 },
4748 "devDependencies" : {
48- "husky" : " ^3.1.0 " ,
49- "prettier" : " ^1.19.1 "
49+ "husky" : " ^4.2.5 " ,
50+ "prettier" : " ^2.0.5 "
5051 },
5152 "prettier" : {
53+ "trailingComma" : " none" ,
54+ "arrowParens" : " avoid" ,
5255 "tabWidth" : 2
5356 }
5457}
Original file line number Diff line number Diff line change @@ -30,3 +30,13 @@ iframe, .embed-box {
3030.content img {
3131 max-height : 80vh ;
3232}
33+
34+ .token .number {
35+ background-color : transparent;
36+ border-radius : 0 ;
37+ font-size : inherit;
38+ height : auto;
39+ min-width : auto;
40+ margin-right : auto;
41+ padding : 0 ;
42+ }
You can’t perform that action at this time.
0 commit comments