fix code highlight
This commit is contained in:
parent
c097f8815d
commit
024750ffd9
|
@ -7,6 +7,8 @@
|
|||
<?php $this->options->tongji(); ?>
|
||||
</footer>
|
||||
<?php if ($this->options->showprism): ?>
|
||||
<script src="<?php $this->options->themeUrl('prism.js'); ?>"></script>
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('prism.css'); ?>" />
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var defaultLanguage = 'javascript'; // 设置默认语言
|
||||
|
|
4
post.php
4
post.php
|
@ -1,9 +1,5 @@
|
|||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<?php $this->need('header.php'); ?>
|
||||
<?php if ($this->options->showprism): ?>
|
||||
<script src="<?php $this->options->themeUrl('prism.js'); ?>"></script>
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('prism.css'); ?>" />
|
||||
<?php endif; ?>
|
||||
<div class="main">
|
||||
<div class="container">
|
||||
<?php if ($this->options->showtoc): ?>
|
||||
|
|
Loading…
Reference in New Issue