Skip to content

Commit

Permalink
[Feat]:新增代码高亮
Browse files Browse the repository at this point in the history
  • Loading branch information
HanFengA7 committed Oct 1, 2022
1 parent 25d1e71 commit 23388d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion footer.php
Expand Up @@ -181,7 +181,10 @@ function scrollFunction() {
}
}
</script>

<script src="//cdnjs.sourcegcdn.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad()
</script>
</div>
<?php $this->footer(); ?>
</body>
Expand Down
1 change: 1 addition & 0 deletions header.php
Expand Up @@ -36,6 +36,7 @@
<link rel="stylesheet preload" href="<?php CustomCDN_FAM('mdui@1.0.2/dist/','mdui/1.0.2/','css/mdui.min.css','css/mdui.min.css'); ?>" as="style">
<link rel="stylesheet preload" href="<?php CustomCDN_url('css/style.css'); ?>" as="style"/>
<link rel="stylesheet preload" href="<?php CustomCDN_url('css/md2.css'); ?>" as="style"/>
<link rel="stylesheet" href="//cdnjs.sourcegcdn.com/ajax/libs/highlight.js/11.6.0/styles/atom-one-light.min.css">
<script rel="preload" src="<?php CustomCDN_FAM('mdui@1.0.2/dist/','mdui/1.0.2/','js/mdui.min.js','js/mdui.min.js'); ?>" is="script"></script>
<script rel="preload" src="<?php CustomCDN_FAM('smooth-scroll@16.1.2/dist/','smooth-scroll/16.1.2','js/smooth-scroll.min.js','smooth-scroll.min.js'); ?>" is="script"></script>
<script rel="preload" src="<?php CustomCDN_url('js/alifont_2359325_loysvemas8m.js'); ?>" is="script"></script>
Expand Down

0 comments on commit 23388d1

Please sign in to comment.