feat: 导出时增加默认的代码类型

This commit is contained in:
augushong
2025-11-09 13:07:27 +08:00
parent c17b69fcdf
commit df6b22d35c

View File

@@ -218,6 +218,7 @@
</div> </div>
<script> <script>
$('pre > code:not([class*="language-"])').addClass('language-plaintext');
$('.code2base64').click(function () { $('.code2base64').click(function () {
$('#post-content').find('pre').each(function (index, elem) { $('#post-content').find('pre').each(function (index, elem) {
if ($(elem).hasClass('tobase64')) { if ($(elem).hasClass('tobase64')) {