mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
feat: 导出时增加默认的代码类型
This commit is contained in:
@@ -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')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user