add代码高亮

This commit is contained in:
浪子
2024-07-02 09:26:49 +08:00
parent b647b0cf80
commit 8449fd35ca
8 changed files with 17698 additions and 6 deletions
+4
View File
@@ -1,5 +1,9 @@
<?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): ?>