feat: 添加 Sarasa Mono 字体支持并优化样式

This commit is contained in:
2026-04-12 13:29:17 +08:00
parent c0c0cc19b2
commit af78359d94
5 changed files with 233 additions and 8 deletions

View File

@@ -697,6 +697,8 @@ if ($pr_flag) {
return HustOJVditor.renderMarkdownBlocks('.md').then(function () {
addMarkdownInputOutputLabels();
styleMarkdownTables();
$('.md .hustoj-vditor-sample-heading').addClass('ui top attached block header sample-header');
$('.md pre.hustoj-vditor-sample-box').addClass('ui bottom attached segment font-content sample-box');
});
<?php } ?>
return Promise.resolve([]);