edu360-web-ui 1.0.99 → 1.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.css +1 -1
- package/dist/shizhanyun-web-ui.js +81 -237
- package/dist/shizhanyun-web-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-
|
|
1
|
+
@charset "UTF-8";[data-v-9857f1bb]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-9857f1bb]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-9857f1bb]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-9857f1bb]{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:4px 8px;font-size:12px;background:#f8fafe;border-bottom:1px solid #ddd;height:36px;border-radius:6px 6px 0 0}.code-toolbar .code-toolbar-right[data-v-9857f1bb]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-9857f1bb]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-9857f1bb]{border-radius:0 0 6px 6px}.hljs.no-toolbar[data-v-9857f1bb]{border-radius:6px}.dark .code-toolbar[data-v-9857f1bb]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-9857f1bb]{color:#ddd}pre[data-v-9857f1bb]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-9857f1bb]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-9d55d1b3]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-popup[data-v-9d55d1b3]{margin:8px 30px;background:#fff;font-size:14px;box-shadow:0 0 0 .5px #6b729447,0 2px 4px #565b760a,0 4px 24px -2px #565b7614;border-radius:12px;position:relative;z-index:2}.ai-input[data-v-9d55d1b3]{border-radius:12px 12px 0 0;padding:16px 16px 12px;width:100%;box-sizing:border-box}.ai-input[data-v-9d55d1b3] .el-textarea__inner{box-shadow:none;resize:none;padding:0}.ai-btns[data-v-9d55d1b3]{display:flex;justify-content:flex-end;align-items:center;padding:0 16px 16px;border-radius:0 0 12px 12px}.ai-btns .ai-btns-send[data-v-9d55d1b3]{width:32px;height:32px;background-color:var(--el-color-primary);border-radius:50%;color:#fff;display:flex;justify-content:center;align-items:center;font-size:18px;cursor:pointer}.ai-btns .ai-btns-send.is-disabled[data-v-9d55d1b3]{background-color:#6b729452;cursor:not-allowed}.ai-quick-actions[data-v-9d55d1b3]{padding:20px;top:calc(100% + 6px);left:0;position:absolute!important;width:160px;max-height:46vh;overflow-y:auto;background:#fff;border-radius:12px;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:#565b7647 0 0 0 .5px,#00000014 0 2px 4px,#00000014 0 4px 12px -4px,#00000029 0 16px 24px -4px;gap:10px}.ai-quick-actions .ai-quick-actions-item[data-v-9d55d1b3]{height:32px;display:flex;justify-content:space-between;align-items:center;font-size:14px;cursor:pointer}.ai-quick-actions .ai-quick-actions-item>div[data-v-9d55d1b3]{display:flex;align-items:center;gap:4px}.tone-list[data-v-9d55d1b3]{display:flex;flex-direction:column;font-size:14px;gap:10px}.tone-list>p[data-v-9d55d1b3]{cursor:pointer}.ai-result .result-answer[data-v-9d55d1b3]{padding:0 18px;height:45px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #EEEEEE;font-size:14px;border-radius:12px 12px 0 0}.ai-result .result-text[data-v-9d55d1b3]{padding:20px 18px 0;font-size:14px;white-space:pre-wrap;max-height:300px;overflow-y:auto}.ai-result .result-image[data-v-9d55d1b3]{padding:10px;display:flex;justify-content:flex-start;gap:10px}.ai-result .result-image>div[data-v-9d55d1b3]{flex:1;width:0;position:relative}.ai-result .result-image>div>img[data-v-9d55d1b3]{object-fit:cover;width:100%}.ai-result .result-image>div .result-image-checkbox[data-v-9d55d1b3]{position:absolute;top:10px;right:10px}.ai-result .result-actions[data-v-9d55d1b3]{display:flex;align-items:center;gap:8px;padding:10px 20px 20px;border-radius:0 0 12px 12px}.result-text[data-v-9d55d1b3]{margin-bottom:8px;white-space:pre-wrap}.result-actions[data-v-9d55d1b3]{display:flex;gap:8px}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
2
2
|
Theme: GitHub
|
|
3
3
|
Description: Light theme as seen on github.com
|
|
4
4
|
Author: github.com
|
|
@@ -35128,7 +35128,7 @@ var hasRequiredMarkdown;
|
|
|
35128
35128
|
function requireMarkdown() {
|
|
35129
35129
|
if (hasRequiredMarkdown) return markdown_1;
|
|
35130
35130
|
hasRequiredMarkdown = 1;
|
|
35131
|
-
function
|
|
35131
|
+
function markdown(hljs2) {
|
|
35132
35132
|
const regex2 = hljs2.regex;
|
|
35133
35133
|
const INLINE_HTML = {
|
|
35134
35134
|
begin: /<\/?[A-Za-z_]/,
|
|
@@ -35358,7 +35358,7 @@ function requireMarkdown() {
|
|
|
35358
35358
|
]
|
|
35359
35359
|
};
|
|
35360
35360
|
}
|
|
35361
|
-
markdown_1 =
|
|
35361
|
+
markdown_1 = markdown;
|
|
35362
35362
|
return markdown_1;
|
|
35363
35363
|
}
|
|
35364
35364
|
var dart_1;
|
|
@@ -57234,7 +57234,7 @@ var hasRequiredMipsasm;
|
|
|
57234
57234
|
function requireMipsasm() {
|
|
57235
57235
|
if (hasRequiredMipsasm) return mipsasm_1;
|
|
57236
57236
|
hasRequiredMipsasm = 1;
|
|
57237
|
-
function
|
|
57237
|
+
function mipsasm2(hljs2) {
|
|
57238
57238
|
return {
|
|
57239
57239
|
name: "MIPS Assembly",
|
|
57240
57240
|
case_insensitive: true,
|
|
@@ -57308,7 +57308,7 @@ function requireMipsasm() {
|
|
|
57308
57308
|
illegal: /\//
|
|
57309
57309
|
};
|
|
57310
57310
|
}
|
|
57311
|
-
mipsasm_1 =
|
|
57311
|
+
mipsasm_1 = mipsasm2;
|
|
57312
57312
|
return mipsasm_1;
|
|
57313
57313
|
}
|
|
57314
57314
|
var mizar_1;
|
|
@@ -78395,7 +78395,7 @@ const _sfc_main$b = {
|
|
|
78395
78395
|
const props = __props;
|
|
78396
78396
|
let showType = props.extension.options.type;
|
|
78397
78397
|
let isInline2 = props.extension.options.isInline;
|
|
78398
|
-
const languages = ["javascript", "typescript", "python", "vue", "html", "css", "php", "java", "c", "cpp", "go", "ruby", "xml", "json", "
|
|
78398
|
+
const languages = ["javascript", "typescript", "python", "vue", "html", "css", "php", "java", "c", "cpp", "go", "ruby", "xml", "json", "bash", "shell", "sql", "kotlin", "rust", "yaml", "dart", "lua", "swift", "scala", "r", "perl", "mipsasm"];
|
|
78399
78399
|
const lang = ref(props.node.attrs.language || "javascript");
|
|
78400
78400
|
const updateLanguage = (data) => {
|
|
78401
78401
|
lang.value = data;
|
|
@@ -78518,7 +78518,7 @@ const _sfc_main$b = {
|
|
|
78518
78518
|
};
|
|
78519
78519
|
}
|
|
78520
78520
|
};
|
|
78521
|
-
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
78521
|
+
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-9857f1bb"]]);
|
|
78522
78522
|
function dart(hljs2) {
|
|
78523
78523
|
const SUBST = {
|
|
78524
78524
|
className: "subst",
|
|
@@ -78771,6 +78771,80 @@ function dart(hljs2) {
|
|
|
78771
78771
|
]
|
|
78772
78772
|
};
|
|
78773
78773
|
}
|
|
78774
|
+
function mipsasm(hljs2) {
|
|
78775
|
+
return {
|
|
78776
|
+
name: "MIPS Assembly",
|
|
78777
|
+
case_insensitive: true,
|
|
78778
|
+
aliases: ["mips"],
|
|
78779
|
+
keywords: {
|
|
78780
|
+
$pattern: "\\.?" + hljs2.IDENT_RE,
|
|
78781
|
+
meta: (
|
|
78782
|
+
// GNU preprocs
|
|
78783
|
+
".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg "
|
|
78784
|
+
),
|
|
78785
|
+
built_in: "$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "
|
|
78786
|
+
// Coprocessor 0 registers
|
|
78787
|
+
},
|
|
78788
|
+
contains: [
|
|
78789
|
+
{
|
|
78790
|
+
className: "keyword",
|
|
78791
|
+
begin: "\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",
|
|
78792
|
+
end: "\\s"
|
|
78793
|
+
},
|
|
78794
|
+
// lines ending with ; or # aren't really comments, probably auto-detect fail
|
|
78795
|
+
hljs2.COMMENT("[;#](?!\\s*$)", "$"),
|
|
78796
|
+
hljs2.C_BLOCK_COMMENT_MODE,
|
|
78797
|
+
hljs2.QUOTE_STRING_MODE,
|
|
78798
|
+
{
|
|
78799
|
+
className: "string",
|
|
78800
|
+
begin: "'",
|
|
78801
|
+
end: "[^\\\\]'",
|
|
78802
|
+
relevance: 0
|
|
78803
|
+
},
|
|
78804
|
+
{
|
|
78805
|
+
className: "title",
|
|
78806
|
+
begin: "\\|",
|
|
78807
|
+
end: "\\|",
|
|
78808
|
+
illegal: "\\n",
|
|
78809
|
+
relevance: 0
|
|
78810
|
+
},
|
|
78811
|
+
{
|
|
78812
|
+
className: "number",
|
|
78813
|
+
variants: [
|
|
78814
|
+
{
|
|
78815
|
+
// hex
|
|
78816
|
+
begin: "0x[0-9a-f]+"
|
|
78817
|
+
},
|
|
78818
|
+
{
|
|
78819
|
+
// bare number
|
|
78820
|
+
begin: "\\b-?\\d+"
|
|
78821
|
+
}
|
|
78822
|
+
],
|
|
78823
|
+
relevance: 0
|
|
78824
|
+
},
|
|
78825
|
+
{
|
|
78826
|
+
className: "symbol",
|
|
78827
|
+
variants: [
|
|
78828
|
+
{
|
|
78829
|
+
// GNU MIPS syntax
|
|
78830
|
+
begin: "^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"
|
|
78831
|
+
},
|
|
78832
|
+
{
|
|
78833
|
+
// numbered local labels
|
|
78834
|
+
begin: "^\\s*[0-9]+:"
|
|
78835
|
+
},
|
|
78836
|
+
{
|
|
78837
|
+
// number local label reference (backwards, forwards)
|
|
78838
|
+
begin: "[0-9]+[bf]"
|
|
78839
|
+
}
|
|
78840
|
+
],
|
|
78841
|
+
relevance: 0
|
|
78842
|
+
}
|
|
78843
|
+
],
|
|
78844
|
+
// forward slashes are not allowed
|
|
78845
|
+
illegal: /\//
|
|
78846
|
+
};
|
|
78847
|
+
}
|
|
78774
78848
|
function scala(hljs2) {
|
|
78775
78849
|
const regex2 = hljs2.regex;
|
|
78776
78850
|
const ANNOTATION = {
|
|
@@ -82573,236 +82647,6 @@ function lua(hljs2) {
|
|
|
82573
82647
|
])
|
|
82574
82648
|
};
|
|
82575
82649
|
}
|
|
82576
|
-
function markdown(hljs2) {
|
|
82577
|
-
const regex2 = hljs2.regex;
|
|
82578
|
-
const INLINE_HTML = {
|
|
82579
|
-
begin: /<\/?[A-Za-z_]/,
|
|
82580
|
-
end: ">",
|
|
82581
|
-
subLanguage: "xml",
|
|
82582
|
-
relevance: 0
|
|
82583
|
-
};
|
|
82584
|
-
const HORIZONTAL_RULE = {
|
|
82585
|
-
begin: "^[-\\*]{3,}",
|
|
82586
|
-
end: "$"
|
|
82587
|
-
};
|
|
82588
|
-
const CODE = {
|
|
82589
|
-
className: "code",
|
|
82590
|
-
variants: [
|
|
82591
|
-
// TODO: fix to allow these to work with sublanguage also
|
|
82592
|
-
{ begin: "(`{3,})[^`](.|\\n)*?\\1`*[ ]*" },
|
|
82593
|
-
{ begin: "(~{3,})[^~](.|\\n)*?\\1~*[ ]*" },
|
|
82594
|
-
// needed to allow markdown as a sublanguage to work
|
|
82595
|
-
{
|
|
82596
|
-
begin: "```",
|
|
82597
|
-
end: "```+[ ]*$"
|
|
82598
|
-
},
|
|
82599
|
-
{
|
|
82600
|
-
begin: "~~~",
|
|
82601
|
-
end: "~~~+[ ]*$"
|
|
82602
|
-
},
|
|
82603
|
-
{ begin: "`.+?`" },
|
|
82604
|
-
{
|
|
82605
|
-
begin: "(?=^( {4}|\\t))",
|
|
82606
|
-
// use contains to gobble up multiple lines to allow the block to be whatever size
|
|
82607
|
-
// but only have a single open/close tag vs one per line
|
|
82608
|
-
contains: [
|
|
82609
|
-
{
|
|
82610
|
-
begin: "^( {4}|\\t)",
|
|
82611
|
-
end: "(\\n)$"
|
|
82612
|
-
}
|
|
82613
|
-
],
|
|
82614
|
-
relevance: 0
|
|
82615
|
-
}
|
|
82616
|
-
]
|
|
82617
|
-
};
|
|
82618
|
-
const LIST = {
|
|
82619
|
-
className: "bullet",
|
|
82620
|
-
begin: "^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",
|
|
82621
|
-
end: "\\s+",
|
|
82622
|
-
excludeEnd: true
|
|
82623
|
-
};
|
|
82624
|
-
const LINK_REFERENCE = {
|
|
82625
|
-
begin: /^\[[^\n]+\]:/,
|
|
82626
|
-
returnBegin: true,
|
|
82627
|
-
contains: [
|
|
82628
|
-
{
|
|
82629
|
-
className: "symbol",
|
|
82630
|
-
begin: /\[/,
|
|
82631
|
-
end: /\]/,
|
|
82632
|
-
excludeBegin: true,
|
|
82633
|
-
excludeEnd: true
|
|
82634
|
-
},
|
|
82635
|
-
{
|
|
82636
|
-
className: "link",
|
|
82637
|
-
begin: /:\s*/,
|
|
82638
|
-
end: /$/,
|
|
82639
|
-
excludeBegin: true
|
|
82640
|
-
}
|
|
82641
|
-
]
|
|
82642
|
-
};
|
|
82643
|
-
const URL_SCHEME = /[A-Za-z][A-Za-z0-9+.-]*/;
|
|
82644
|
-
const LINK = {
|
|
82645
|
-
variants: [
|
|
82646
|
-
// too much like nested array access in so many languages
|
|
82647
|
-
// to have any real relevance
|
|
82648
|
-
{
|
|
82649
|
-
begin: /\[.+?\]\[.*?\]/,
|
|
82650
|
-
relevance: 0
|
|
82651
|
-
},
|
|
82652
|
-
// popular internet URLs
|
|
82653
|
-
{
|
|
82654
|
-
begin: /\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,
|
|
82655
|
-
relevance: 2
|
|
82656
|
-
},
|
|
82657
|
-
{
|
|
82658
|
-
begin: regex2.concat(/\[.+?\]\(/, URL_SCHEME, /:\/\/.*?\)/),
|
|
82659
|
-
relevance: 2
|
|
82660
|
-
},
|
|
82661
|
-
// relative urls
|
|
82662
|
-
{
|
|
82663
|
-
begin: /\[.+?\]\([./?&#].*?\)/,
|
|
82664
|
-
relevance: 1
|
|
82665
|
-
},
|
|
82666
|
-
// whatever else, lower relevance (might not be a link at all)
|
|
82667
|
-
{
|
|
82668
|
-
begin: /\[.*?\]\(.*?\)/,
|
|
82669
|
-
relevance: 0
|
|
82670
|
-
}
|
|
82671
|
-
],
|
|
82672
|
-
returnBegin: true,
|
|
82673
|
-
contains: [
|
|
82674
|
-
{
|
|
82675
|
-
// empty strings for alt or link text
|
|
82676
|
-
match: /\[(?=\])/
|
|
82677
|
-
},
|
|
82678
|
-
{
|
|
82679
|
-
className: "string",
|
|
82680
|
-
relevance: 0,
|
|
82681
|
-
begin: "\\[",
|
|
82682
|
-
end: "\\]",
|
|
82683
|
-
excludeBegin: true,
|
|
82684
|
-
returnEnd: true
|
|
82685
|
-
},
|
|
82686
|
-
{
|
|
82687
|
-
className: "link",
|
|
82688
|
-
relevance: 0,
|
|
82689
|
-
begin: "\\]\\(",
|
|
82690
|
-
end: "\\)",
|
|
82691
|
-
excludeBegin: true,
|
|
82692
|
-
excludeEnd: true
|
|
82693
|
-
},
|
|
82694
|
-
{
|
|
82695
|
-
className: "symbol",
|
|
82696
|
-
relevance: 0,
|
|
82697
|
-
begin: "\\]\\[",
|
|
82698
|
-
end: "\\]",
|
|
82699
|
-
excludeBegin: true,
|
|
82700
|
-
excludeEnd: true
|
|
82701
|
-
}
|
|
82702
|
-
]
|
|
82703
|
-
};
|
|
82704
|
-
const BOLD = {
|
|
82705
|
-
className: "strong",
|
|
82706
|
-
contains: [],
|
|
82707
|
-
// defined later
|
|
82708
|
-
variants: [
|
|
82709
|
-
{
|
|
82710
|
-
begin: /_{2}(?!\s)/,
|
|
82711
|
-
end: /_{2}/
|
|
82712
|
-
},
|
|
82713
|
-
{
|
|
82714
|
-
begin: /\*{2}(?!\s)/,
|
|
82715
|
-
end: /\*{2}/
|
|
82716
|
-
}
|
|
82717
|
-
]
|
|
82718
|
-
};
|
|
82719
|
-
const ITALIC = {
|
|
82720
|
-
className: "emphasis",
|
|
82721
|
-
contains: [],
|
|
82722
|
-
// defined later
|
|
82723
|
-
variants: [
|
|
82724
|
-
{
|
|
82725
|
-
begin: /\*(?![*\s])/,
|
|
82726
|
-
end: /\*/
|
|
82727
|
-
},
|
|
82728
|
-
{
|
|
82729
|
-
begin: /_(?![_\s])/,
|
|
82730
|
-
end: /_/,
|
|
82731
|
-
relevance: 0
|
|
82732
|
-
}
|
|
82733
|
-
]
|
|
82734
|
-
};
|
|
82735
|
-
const BOLD_WITHOUT_ITALIC = hljs2.inherit(BOLD, { contains: [] });
|
|
82736
|
-
const ITALIC_WITHOUT_BOLD = hljs2.inherit(ITALIC, { contains: [] });
|
|
82737
|
-
BOLD.contains.push(ITALIC_WITHOUT_BOLD);
|
|
82738
|
-
ITALIC.contains.push(BOLD_WITHOUT_ITALIC);
|
|
82739
|
-
let CONTAINABLE = [
|
|
82740
|
-
INLINE_HTML,
|
|
82741
|
-
LINK
|
|
82742
|
-
];
|
|
82743
|
-
[
|
|
82744
|
-
BOLD,
|
|
82745
|
-
ITALIC,
|
|
82746
|
-
BOLD_WITHOUT_ITALIC,
|
|
82747
|
-
ITALIC_WITHOUT_BOLD
|
|
82748
|
-
].forEach((m2) => {
|
|
82749
|
-
m2.contains = m2.contains.concat(CONTAINABLE);
|
|
82750
|
-
});
|
|
82751
|
-
CONTAINABLE = CONTAINABLE.concat(BOLD, ITALIC);
|
|
82752
|
-
const HEADER = {
|
|
82753
|
-
className: "section",
|
|
82754
|
-
variants: [
|
|
82755
|
-
{
|
|
82756
|
-
begin: "^#{1,6}",
|
|
82757
|
-
end: "$",
|
|
82758
|
-
contains: CONTAINABLE
|
|
82759
|
-
},
|
|
82760
|
-
{
|
|
82761
|
-
begin: "(?=^.+?\\n[=-]{2,}$)",
|
|
82762
|
-
contains: [
|
|
82763
|
-
{ begin: "^[=-]*$" },
|
|
82764
|
-
{
|
|
82765
|
-
begin: "^",
|
|
82766
|
-
end: "\\n",
|
|
82767
|
-
contains: CONTAINABLE
|
|
82768
|
-
}
|
|
82769
|
-
]
|
|
82770
|
-
}
|
|
82771
|
-
]
|
|
82772
|
-
};
|
|
82773
|
-
const BLOCKQUOTE = {
|
|
82774
|
-
className: "quote",
|
|
82775
|
-
begin: "^>\\s+",
|
|
82776
|
-
contains: CONTAINABLE,
|
|
82777
|
-
end: "$"
|
|
82778
|
-
};
|
|
82779
|
-
const ENTITY = {
|
|
82780
|
-
//https://spec.commonmark.org/0.31.2/#entity-references
|
|
82781
|
-
scope: "literal",
|
|
82782
|
-
match: /&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/
|
|
82783
|
-
};
|
|
82784
|
-
return {
|
|
82785
|
-
name: "Markdown",
|
|
82786
|
-
aliases: [
|
|
82787
|
-
"md",
|
|
82788
|
-
"mkdown",
|
|
82789
|
-
"mkd"
|
|
82790
|
-
],
|
|
82791
|
-
contains: [
|
|
82792
|
-
HEADER,
|
|
82793
|
-
INLINE_HTML,
|
|
82794
|
-
LIST,
|
|
82795
|
-
BOLD,
|
|
82796
|
-
ITALIC,
|
|
82797
|
-
BLOCKQUOTE,
|
|
82798
|
-
CODE,
|
|
82799
|
-
HORIZONTAL_RULE,
|
|
82800
|
-
LINK,
|
|
82801
|
-
LINK_REFERENCE,
|
|
82802
|
-
ENTITY
|
|
82803
|
-
]
|
|
82804
|
-
};
|
|
82805
|
-
}
|
|
82806
82650
|
function perl(hljs2) {
|
|
82807
82651
|
const regex2 = hljs2.regex;
|
|
82808
82652
|
const KEYWORDS2 = [
|
|
@@ -88206,7 +88050,6 @@ lowlight.register("html", xml$1);
|
|
|
88206
88050
|
lowlight.register("xml", xml$1);
|
|
88207
88051
|
lowlight.register("css", css);
|
|
88208
88052
|
lowlight.register("json", json);
|
|
88209
|
-
lowlight.register("markdown", markdown);
|
|
88210
88053
|
lowlight.register("bash", bash);
|
|
88211
88054
|
lowlight.register("shell", bash);
|
|
88212
88055
|
lowlight.register("sql", sql);
|
|
@@ -88220,6 +88063,7 @@ lowlight.register("swift", swift);
|
|
|
88220
88063
|
lowlight.register("scala", scala);
|
|
88221
88064
|
lowlight.register("r", r);
|
|
88222
88065
|
lowlight.register("perl", perl);
|
|
88066
|
+
lowlight.register("mipsasm", mipsasm);
|
|
88223
88067
|
lowlight.register("text", () => {
|
|
88224
88068
|
return { contains: [] };
|
|
88225
88069
|
});
|