ccccccccccccccccccccccccccc

This commit is contained in:
aote777 2021-11-23 16:41:33 +08:00
parent 9817b1b19f
commit d95ff968f3
1 changed files with 11 additions and 5 deletions

View File

@ -17,9 +17,10 @@
[xx](http://baidu.com) [xx](http://baidu.com)
</textarea> </textarea
>
<textarea class="md-content"> <textarea class="md-content">
* 序列 * 序列
- zhe这都出来了 - zhe这都出来了
@ -27,7 +28,12 @@
* 试试 * 试试
> 引入的话话里有话 > 引入的话话里有话
</textarea>
| ni | wo |
| :--:|:--:|
| 1|2|
</textarea
>
<script> <script>
'use strict' 'use strict'
function consoleLog(str) { function consoleLog(str) {
@ -44,7 +50,7 @@
var highLightCss = var highLightCss =
// 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/default.min.css' // 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/default.min.css'
'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/base16/onedark.min.css' 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/base16/onedark.min.css'
// 加载库文件 // 加载库文件
var createScript = (src) => { var createScript = (src) => {
var scriptElement = document.createElement('script') var scriptElement = document.createElement('script')
@ -133,7 +139,7 @@
}) })
}) })
.then(() => { .then(() => {
// 清除重复项 // 清除重复项 试试
var repeatEl = document.querySelectorAll('.x-0') var repeatEl = document.querySelectorAll('.x-0')
repeatEl.forEach((el, i) => { repeatEl.forEach((el, i) => {
if (i === repeatEl.length - 1) { if (i === repeatEl.length - 1) {