主题默认自带代码高亮
This commit is contained in:
parent
0fcc3abbf4
commit
bdd2c9cb68
|
@ -73,6 +73,8 @@ img.emoji {
|
|||
border: 1px solid #16a1e7 !important;
|
||||
}
|
||||
} </style>
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/10.3.2/styles/tomorrow-night-bright.min.css">
|
||||
<script src='https://cdn.staticfile.org/highlight.js/10.3.2/highlight.min.js'></script>
|
||||
<!--{opt.codeBeforHead}-->
|
||||
|
||||
</head>
|
||||
|
@ -125,6 +127,9 @@ img.emoji {
|
|||
<script type="text/javascript" src="https://cdn.jsdelivr.net/wp/themes/iconic-one/2.1.8/js/selectnav.min.js?ver=1.0" id="themonic-mobile-navigation-js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.6/wp-includes/js/clipboard.min.js?ver=5.6" id="clipboard-js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/gdtool/zhaopp/cfblog/wp-embed.min.js?ver=5.6" id="wp-embed-js"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();//代码高亮
|
||||
</script>
|
||||
<!--{opt.codeBeforBody}-->
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue