@zjlab-frontier/markdown 1.0.5 → 1.0.6

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.
Files changed (45) hide show
  1. package/dist/{arc-BkFOiLi7.mjs → arc-CPA0p2nr.mjs} +1 -1
  2. package/dist/{blockDiagram-c4efeb88-CngVNufX.mjs → blockDiagram-c4efeb88-BMWiFiP3.mjs} +5 -5
  3. package/dist/{c4Diagram-c83219d4-CvSWXhSV.mjs → c4Diagram-c83219d4-BVeP4sGZ.mjs} +2 -2
  4. package/dist/{channel-BCTzeqLo.mjs → channel-CfTtXS54.mjs} +1 -1
  5. package/dist/{classDiagram-beda092f-8UkpWDgI.mjs → classDiagram-beda092f-Dkg1paTI.mjs} +5 -5
  6. package/dist/{classDiagram-v2-2358418a-D3LsBhTm.mjs → classDiagram-v2-2358418a-CbmP87w3.mjs} +5 -5
  7. package/dist/{clone-DZgGXtyK.mjs → clone-DQz5S2Gf.mjs} +1 -1
  8. package/dist/{createText-1719965b-DMv-Bu7A.mjs → createText-1719965b-THljj3Tg.mjs} +1 -1
  9. package/dist/{edges-96097737-BeVwLt3S.mjs → edges-96097737-DX03sOnb.mjs} +3 -3
  10. package/dist/{erDiagram-0228fc6a-GXXkRZ8r.mjs → erDiagram-0228fc6a-DyRJb1N0.mjs} +4 -4
  11. package/dist/{flowDb-c6c81e3f-CrOg5i55.mjs → flowDb-c6c81e3f-DnVrIVtg.mjs} +1 -1
  12. package/dist/{flowDiagram-50d868cf-sXe_oFAW.mjs → flowDiagram-50d868cf-QAHsagSv.mjs} +6 -6
  13. package/dist/{flowDiagram-v2-4f6560a1-CoKYvZkH.mjs → flowDiagram-v2-4f6560a1-DW1Pj1Vu.mjs} +5 -5
  14. package/dist/{flowchart-elk-definition-6af322e1-SuvGsuBl.mjs → flowchart-elk-definition-6af322e1-dwC_tSCA.mjs} +4 -4
  15. package/dist/{ganttDiagram-a2739b55-BbWq9bqY.mjs → ganttDiagram-a2739b55-_A-dB1hR.mjs} +2 -2
  16. package/dist/{gitGraphDiagram-82fe8481-C6-e4UmK.mjs → gitGraphDiagram-82fe8481-CKx-e37z.mjs} +1 -1
  17. package/dist/{graph-CoIGCRFf.mjs → graph-B9GBc3rj.mjs} +1 -1
  18. package/dist/{index-5325376f-BENBY8aO.mjs → index-5325376f-BL-CvGIA.mjs} +6 -6
  19. package/dist/{index-5_ujiRGo.mjs → index-B4uS92Er.mjs} +14106 -14087
  20. package/dist/index.css +1 -1
  21. package/dist/index.mjs +1 -1
  22. package/dist/index.umd.js +134 -134
  23. package/dist/{infoDiagram-8eee0895-BEAb2pCD.mjs → infoDiagram-8eee0895-BABOdtUo.mjs} +1 -1
  24. package/dist/{journeyDiagram-c64418c1-CERjyYnA.mjs → journeyDiagram-c64418c1-BYRsVkKo.mjs} +3 -3
  25. package/dist/{layout-aCAVHR2T.mjs → layout-BUJf-1Jb.mjs} +2 -2
  26. package/dist/{line-BGunMwE-.mjs → line-uLxZxf3W.mjs} +1 -1
  27. package/dist/{linear-DciWi0hE.mjs → linear-CBVXYCUV.mjs} +1 -1
  28. package/dist/markdown.d.ts +23 -8
  29. package/dist/{mindmap-definition-8da855dc-Cc8_U7zD.mjs → mindmap-definition-8da855dc-DWSxtoVH.mjs} +2 -2
  30. package/dist/{pieDiagram-a8764435-B00hy7Ez.mjs → pieDiagram-a8764435-BcWeSl2Y.mjs} +2 -2
  31. package/dist/{quadrantDiagram-1e28029f-DR7IGAoM.mjs → quadrantDiagram-1e28029f-C1HyCJ5I.mjs} +2 -2
  32. package/dist/{requirementDiagram-08caed73-o6N3X3-m.mjs → requirementDiagram-08caed73-DV1Fzm7r.mjs} +4 -4
  33. package/dist/{sankeyDiagram-a04cb91d-CYF9Ro1W.mjs → sankeyDiagram-a04cb91d-P4WlwOft.mjs} +1 -1
  34. package/dist/{sequenceDiagram-c5b8d532-vz_R7xBU.mjs → sequenceDiagram-c5b8d532-DHsCSj90.mjs} +2 -2
  35. package/dist/{stateDiagram-1ecb1508-B0YUHnuE.mjs → stateDiagram-1ecb1508-Bwrw-MHB.mjs} +5 -5
  36. package/dist/{stateDiagram-v2-c2b004d7-CDTm1Jfb.mjs → stateDiagram-v2-c2b004d7-CtAFN7FK.mjs} +5 -5
  37. package/dist/styles/highlight.scss +107 -115
  38. package/dist/styles/markdown.scss +1164 -1162
  39. package/dist/{styles-b4e223ce-C_-huVuQ.mjs → styles-b4e223ce-D5j_RO45.mjs} +1 -1
  40. package/dist/{styles-ca3715f6-soe07Bnw.mjs → styles-ca3715f6-BxOa4jQC.mjs} +1 -1
  41. package/dist/{styles-d45a18b0-0ZXwJp5P.mjs → styles-d45a18b0-Cx7oeddZ.mjs} +4 -4
  42. package/dist/{svgDrawCommon-b86b1483-UCLksviB.mjs → svgDrawCommon-b86b1483-C79Aamah.mjs} +1 -1
  43. package/dist/{timeline-definition-faaaa080-Dt5unv7p.mjs → timeline-definition-faaaa080-BavFg_pt.mjs} +2 -2
  44. package/dist/{xychartDiagram-f5964ef8-BZWS0E_9.mjs → xychartDiagram-f5964ef8-Ddgl02xp.mjs} +4 -4
  45. package/package.json +66 -66
@@ -1,4 +1,4 @@
1
- import { l as Y, T as D, e as M } from "./index-5_ujiRGo.mjs";
1
+ import { l as Y, T as D, e as M } from "./index-B4uS92Er.mjs";
2
2
  var O = (function() {
3
3
  var a = function(u, t, e, n) {
4
4
  for (e = e || {}, n = u.length; n--; e[u[n]] = t)
@@ -1,6 +1,6 @@
1
- import { a as yt, s as ft, b as dt, c as pt, C as gt, D as mt, g as C, d as H, e as xt, E as kt } from "./index-5_ujiRGo.mjs";
2
- import { a as _t, g as it, f as bt, d as vt } from "./svgDrawCommon-b86b1483-UCLksviB.mjs";
3
- import { a as Q } from "./arc-BkFOiLi7.mjs";
1
+ import { a as yt, s as ft, b as dt, c as pt, C as gt, D as mt, g as C, d as H, e as xt, E as kt } from "./index-B4uS92Er.mjs";
2
+ import { a as _t, g as it, f as bt, d as vt } from "./svgDrawCommon-b86b1483-C79Aamah.mjs";
3
+ import { a as Q } from "./arc-CPA0p2nr.mjs";
4
4
  var X = (function() {
5
5
  var t = function(p, s, r, a) {
6
6
  for (r = r || {}, a = p.length; a--; r[p[a]] = s)
@@ -1,5 +1,5 @@
1
- import { a as S, b as be, c as qe, d as O, k as We, e as ze, f as Xe, g as T, h as me, j as ge, l as He, m as ye, t as Ue, n as xe, o as Je, p as Ke, G as g, q as s, i as m, r as I, v as E, s as G } from "./graph-CoIGCRFf.mjs";
2
- import { a7 as F, a8 as Ze, a9 as Qe, aa as Ee, ab as A, ac as ke, ad as en, ae as Oe, af as U, ag as nn, ah as rn, ai as J, aj as tn, ak as Ne, al as an, am as on, an as X } from "./index-5_ujiRGo.mjs";
1
+ import { a as S, b as be, c as qe, d as O, k as We, e as ze, f as Xe, g as T, h as me, j as ge, l as He, m as ye, t as Ue, n as xe, o as Je, p as Ke, G as g, q as s, i as m, r as I, v as E, s as G } from "./graph-B9GBc3rj.mjs";
2
+ import { a7 as F, a8 as Ze, a9 as Qe, aa as Ee, ab as A, ac as ke, ad as en, ae as Oe, af as U, ag as nn, ah as rn, ai as J, aj as tn, ak as Ne, al as an, am as on, an as X } from "./index-B4uS92Er.mjs";
3
3
  var un = /\s/;
4
4
  function dn(e) {
5
5
  for (var n = e.length; n-- && un.test(e.charAt(n)); )
@@ -1,6 +1,6 @@
1
1
  import { a as h } from "./array-CqVTtuYm.mjs";
2
2
  import { w as d, c as o } from "./path-DLwuMfdd.mjs";
3
- import { n as v } from "./index-5_ujiRGo.mjs";
3
+ import { n as v } from "./index-B4uS92Er.mjs";
4
4
  function w(t) {
5
5
  return t[0];
6
6
  }
@@ -1,4 +1,4 @@
1
- import { _ as un, $ as I, a0 as U, a1 as fn, a2 as Y } from "./index-5_ujiRGo.mjs";
1
+ import { _ as un, $ as I, a0 as U, a1 as fn, a2 as Y } from "./index-B4uS92Er.mjs";
2
2
  import { i as cn } from "./init-DjUOC4st.mjs";
3
3
  function F(n, t) {
4
4
  return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
@@ -1,25 +1,40 @@
1
+ import React from "react";
1
2
  import "katex/dist/katex.min.css";
2
- import React, { RefObject } from "react";
3
3
  import "./markdown.scss";
4
4
  import "./highlight.scss";
5
+ /**
6
+ * Mermaid 图表渲染组件。
7
+ * 接收 Mermaid 代码字符串,通过 mermaid.js 渲染为 SVG 图表。
8
+ * 支持点击图表(预留扩展点,当前注释掉弹窗逻辑)。
9
+ */
5
10
  export declare function Mermaid(props: {
6
11
  code: string;
7
- }): React.JSX.Element | null;
12
+ }): any;
13
+ /**
14
+ * 自定义 <pre> 包装组件,用于增强代码块功能:
15
+ * - 自动识别语言类型并显示标签
16
+ * - 支持一键复制代码
17
+ * - 特殊处理 Mermaid 代码块:提取内容并渲染为图表
18
+ * - 对纯文本类代码块启用自动换行
19
+ */
8
20
  export declare function PreCode(props: {
9
21
  children?: any;
10
- }): React.JSX.Element;
22
+ }): any;
23
+ /**
24
+ * 内部 Markdown 渲染组件(不直接导出)。
25
+ * 负责预处理内容并配置 ReactMarkdown 插件与自定义组件。
26
+ */
11
27
  declare function _MarkDownContent(props: {
12
28
  content: string;
13
29
  }): React.JSX.Element;
14
30
  export declare const MarkdownContent: React.MemoExoticComponent<typeof _MarkDownContent>;
31
+ /**
32
+ * 主 Markdown 渲染组件,供外部使用。
33
+ * 支持自定义字体、字号、颜色等样式,并透传事件。
34
+ */
15
35
  export declare function ZJMarkdown(props: {
16
36
  content: string;
17
- loading?: boolean;
18
37
  fontSize?: number;
19
- color?: string;
20
- isUser?: boolean;
21
38
  fontFamily?: string;
22
- parentRef?: RefObject<HTMLDivElement>;
23
- defaultShow?: boolean;
24
39
  } & React.DOMAttributes<HTMLDivElement>): React.JSX.Element;
25
40
  export default ZJMarkdown;
@@ -1,5 +1,5 @@
1
- import { P as yv, l as Nr, ar as mv, as as bv, at as wv, g as ao, T as Ev, o as xv, X as Cn, i as Dn, d as Tv, W as Cv } from "./index-5_ujiRGo.mjs";
2
- import { a as Dv } from "./createText-1719965b-DMv-Bu7A.mjs";
1
+ import { P as yv, l as Nr, ar as mv, as as bv, at as wv, g as ao, T as Ev, o as xv, X as Cn, i as Dn, d as Tv, W as Cv } from "./index-B4uS92Er.mjs";
2
+ import { a as Dv } from "./createText-1719965b-THljj3Tg.mjs";
3
3
  function Bs(t, e) {
4
4
  (e == null || e > t.length) && (e = t.length);
5
5
  for (var r = 0, a = Array(e); r < e; r++) a[r] = t[r];
@@ -1,5 +1,5 @@
1
- import { U as H, a as rt, s as at, b as lt, c as ot, C as ct, D as ht, l as et, g as it, V as ut, T as yt, W as ft, e as pt, i as gt, E as dt, X as mt } from "./index-5_ujiRGo.mjs";
2
- import { a as tt } from "./arc-BkFOiLi7.mjs";
1
+ import { U as H, a as rt, s as at, b as lt, c as ot, C as ct, D as ht, l as et, g as it, V as ut, T as yt, W as ft, e as pt, i as gt, E as dt, X as mt } from "./index-B4uS92Er.mjs";
2
+ import { a as tt } from "./arc-CPA0p2nr.mjs";
3
3
  import { o as _t } from "./ordinal-C0oynhte.mjs";
4
4
  import { a as xt } from "./array-CqVTtuYm.mjs";
5
5
  import { c as F } from "./path-DLwuMfdd.mjs";
@@ -1,5 +1,5 @@
1
- import { s as vt, a as Lt, C as bt, D as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, E as It, X as D, Y as Bt, i as wt } from "./index-5_ujiRGo.mjs";
2
- import { l as mt } from "./linear-DciWi0hE.mjs";
1
+ import { s as vt, a as Lt, C as bt, D as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, E as It, X as D, Y as Bt, i as wt } from "./index-B4uS92Er.mjs";
2
+ import { l as mt } from "./linear-CBVXYCUV.mjs";
3
3
  var pt = (function() {
4
4
  var e = function(K, n, r, l) {
5
5
  for (r = r || {}, l = K.length; l--; r[K[l]] = n)
@@ -1,7 +1,7 @@
1
- import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, E as Ye, l as Ne, k as ke } from "./index-5_ujiRGo.mjs";
2
- import { G as Ue } from "./graph-CoIGCRFf.mjs";
3
- import { l as Be } from "./layout-aCAVHR2T.mjs";
4
- import { l as Qe } from "./line-BGunMwE-.mjs";
1
+ import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, E as Ye, l as Ne, k as ke } from "./index-B4uS92Er.mjs";
2
+ import { G as Ue } from "./graph-B9GBc3rj.mjs";
3
+ import { l as Be } from "./layout-BUJf-1Jb.mjs";
4
+ import { l as Qe } from "./line-uLxZxf3W.mjs";
5
5
  var ce = (function() {
6
6
  var e = function(V, i, r, a) {
7
7
  for (r = r || {}, a = V.length; a--; r[V[a]] = i)
@@ -1,4 +1,4 @@
1
- import { D as mt, C as kt, s as _t, a as xt, c as vt, b as bt, g as rt, aq as wt, d as G, o as St, E as Lt, k as Et } from "./index-5_ujiRGo.mjs";
1
+ import { D as mt, C as kt, s as _t, a as xt, c as vt, b as bt, g as rt, aq as wt, d as G, o as St, E as Lt, k as Et } from "./index-B4uS92Er.mjs";
2
2
  import { o as At } from "./ordinal-C0oynhte.mjs";
3
3
  import { s as Tt } from "./Tableau10-D7jGxypv.mjs";
4
4
  function ot(t, n) {
@@ -1,5 +1,5 @@
1
- import { a as we, s as ve, c as $t, g as st, D as _e, C as ke, b as Pe, d as Lt, l as X, j as te, e as Le, f as Ie, k as v, i as At, E as Ae, B, a3 as nt, a4 as wt, W as ee, a5 as Ne, t as se, Z as Bt } from "./index-5_ujiRGo.mjs";
2
- import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./svgDrawCommon-b86b1483-UCLksviB.mjs";
1
+ import { a as we, s as ve, c as $t, g as st, D as _e, C as ke, b as Pe, d as Lt, l as X, j as te, e as Le, f as Ie, k as v, i as At, E as Ae, B, a3 as nt, a4 as wt, W as ee, a5 as Ne, t as se, Z as Bt } from "./index-B4uS92Er.mjs";
2
+ import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./svgDrawCommon-b86b1483-C79Aamah.mjs";
3
3
  var Yt = (function() {
4
4
  var t = function(dt, w, k, L) {
5
5
  for (k = k || {}, L = dt.length; L--; k[dt[L]] = w)
@@ -1,8 +1,8 @@
1
- import { s as P, d as N, p as W } from "./styles-ca3715f6-soe07Bnw.mjs";
2
- import { g as t, d as H, l as b, e as R, k as T, F as v, B as U } from "./index-5_ujiRGo.mjs";
3
- import { G as C } from "./graph-CoIGCRFf.mjs";
4
- import { l as F } from "./layout-aCAVHR2T.mjs";
5
- import { l as $ } from "./line-BGunMwE-.mjs";
1
+ import { s as P, d as N, p as W } from "./styles-ca3715f6-BxOa4jQC.mjs";
2
+ import { g as t, d as H, l as b, e as R, k as T, F as v, B as U } from "./index-B4uS92Er.mjs";
3
+ import { G as C } from "./graph-B9GBc3rj.mjs";
4
+ import { l as F } from "./layout-BUJf-1Jb.mjs";
5
+ import { l as $ } from "./line-uLxZxf3W.mjs";
6
6
  const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), X = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), J = (e, i) => {
7
7
  const o = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = o.node().getBBox();
8
8
  return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), o;
@@ -1,8 +1,8 @@
1
- import { s as Q, d as B, p as X, D as Z, a as H, b as F, S as m, c as I } from "./styles-ca3715f6-soe07Bnw.mjs";
2
- import { G as tt } from "./graph-CoIGCRFf.mjs";
3
- import { l as E, g, d as x, B as et, e as ot, k as w } from "./index-5_ujiRGo.mjs";
4
- import { r as st } from "./index-5325376f-BENBY8aO.mjs";
5
- import "./layout-aCAVHR2T.mjs";
1
+ import { s as Q, d as B, p as X, D as Z, a as H, b as F, S as m, c as I } from "./styles-ca3715f6-BxOa4jQC.mjs";
2
+ import { G as tt } from "./graph-B9GBc3rj.mjs";
3
+ import { l as E, g, d as x, B as et, e as ot, k as w } from "./index-B4uS92Er.mjs";
4
+ import { r as st } from "./index-5325376f-BL-CvGIA.mjs";
5
+ import "./layout-BUJf-1Jb.mjs";
6
6
  const h = "rect", C = "rectWithTitle", nt = "start", ct = "end", it = "divider", rt = "roundedWithTitle", lt = "note", at = "noteGroup", p = "statediagram", dt = "state", Et = `${p}-${dt}`, U = "transition", St = "note", Tt = "note-edge", _t = `${U} ${Tt}`, pt = `${p}-${St}`, ut = "cluster", Dt = `${p}-${ut}`, bt = "cluster-alt", ft = `${p}-${bt}`, V = "parent", Y = "note", At = "state", N = "----", ht = `${N}${Y}`, M = `${N}${V}`, W = "fill:none", z = "fill: #333", q = "c", K = "text", j = "normal";
7
7
  let y = {}, d = 0;
8
8
  const yt = function(t) {
@@ -1,115 +1,107 @@
1
- .markdown-body {
2
- pre {
3
- padding: 0;
4
- }
5
-
6
- pre,
7
- code {
8
- font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
9
- }
10
-
11
- pre code {
12
- display: block;
13
- overflow-x: auto;
14
- padding: 1em;
15
- }
16
-
17
- code {
18
- padding: 3px 5px;
19
- }
20
-
21
- .hljs,
22
- pre {
23
- background: #1a1b26;
24
- color: #cbd2ea;
25
- }
26
-
27
- /*!
28
- Theme: Tokyo-night-Dark
29
- origin: https://github.com/enkia/tokyo-night-vscode-theme
30
- Description: Original highlight.js style
31
- Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
32
- License: see project LICENSE
33
- Touched: 2022
34
- */
35
- .hljs-comment,
36
- .hljs-meta {
37
- color: #565f89;
38
- }
39
-
40
- .hljs-deletion,
41
- .hljs-doctag,
42
- .hljs-regexp,
43
- .hljs-selector-attr,
44
- .hljs-selector-class,
45
- .hljs-selector-id,
46
- .hljs-selector-pseudo,
47
- .hljs-tag,
48
- .hljs-template-tag,
49
- .hljs-variable.language_ {
50
- color: #f7768e;
51
- }
52
-
53
- .hljs-link,
54
- .hljs-literal,
55
- .hljs-number,
56
- .hljs-params,
57
- .hljs-template-variable,
58
- .hljs-type,
59
- .hljs-variable {
60
- color: #ff9e64;
61
- }
62
-
63
- .hljs-attribute,
64
- .hljs-built_in {
65
- color: #e0af68;
66
- }
67
-
68
- .hljs-keyword,
69
- .hljs-property,
70
- .hljs-subst,
71
- .hljs-title,
72
- .hljs-title.class_,
73
- .hljs-title.class_.inherited__,
74
- .hljs-title.function_ {
75
- color: #7dcfff;
76
- }
77
-
78
- .hljs-selector-tag {
79
- color: #73daca;
80
- }
81
-
82
- .hljs-addition,
83
- .hljs-bullet,
84
- .hljs-quote,
85
- .hljs-string,
86
- .hljs-symbol {
87
- color: #9ece6a;
88
- }
89
-
90
- .hljs-code,
91
- .hljs-formula,
92
- .hljs-section {
93
- color: #7aa2f7;
94
- }
95
-
96
- .hljs-attr,
97
- .hljs-char.escape_,
98
- .hljs-keyword,
99
- .hljs-name,
100
- .hljs-operator {
101
- color: #bb9af7;
102
- }
103
-
104
- .hljs-punctuation {
105
- color: #c0caf5;
106
- }
107
-
108
- .hljs-emphasis {
109
- font-style: italic;
110
- }
111
-
112
- .hljs-strong {
113
- font-weight: 700;
114
- }
115
- }
1
+ .markdown-body {
2
+ pre {
3
+ padding: 0;
4
+ }
5
+
6
+ pre,
7
+ code {
8
+ font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
9
+ }
10
+
11
+ pre code {
12
+ display: block;
13
+ overflow-x: auto;
14
+ padding: 1em;
15
+ }
16
+
17
+ code {
18
+ padding: 3px 5px;
19
+ }
20
+
21
+ .hljs,
22
+ pre {
23
+ background: #1a1b26;
24
+ color: #cbd2ea;
25
+ }
26
+
27
+ .hljs-comment,
28
+ .hljs-meta {
29
+ color: #565f89;
30
+ }
31
+
32
+ .hljs-deletion,
33
+ .hljs-doctag,
34
+ .hljs-regexp,
35
+ .hljs-selector-attr,
36
+ .hljs-selector-class,
37
+ .hljs-selector-id,
38
+ .hljs-selector-pseudo,
39
+ .hljs-tag,
40
+ .hljs-template-tag,
41
+ .hljs-variable.language_ {
42
+ color: #f7768e;
43
+ }
44
+
45
+ .hljs-link,
46
+ .hljs-literal,
47
+ .hljs-number,
48
+ .hljs-params,
49
+ .hljs-template-variable,
50
+ .hljs-type,
51
+ .hljs-variable {
52
+ color: #ff9e64;
53
+ }
54
+
55
+ .hljs-attribute,
56
+ .hljs-built_in {
57
+ color: #e0af68;
58
+ }
59
+
60
+ .hljs-keyword,
61
+ .hljs-property,
62
+ .hljs-subst,
63
+ .hljs-title,
64
+ .hljs-title.class_,
65
+ .hljs-title.class_.inherited__,
66
+ .hljs-title.function_ {
67
+ color: #7dcfff;
68
+ }
69
+
70
+ .hljs-selector-tag {
71
+ color: #73daca;
72
+ }
73
+
74
+ .hljs-addition,
75
+ .hljs-bullet,
76
+ .hljs-quote,
77
+ .hljs-string,
78
+ .hljs-symbol {
79
+ color: #9ece6a;
80
+ }
81
+
82
+ .hljs-code,
83
+ .hljs-formula,
84
+ .hljs-section {
85
+ color: #7aa2f7;
86
+ }
87
+
88
+ .hljs-attr,
89
+ .hljs-char.escape_,
90
+ .hljs-keyword,
91
+ .hljs-name,
92
+ .hljs-operator {
93
+ color: #bb9af7;
94
+ }
95
+
96
+ .hljs-punctuation {
97
+ color: #c0caf5;
98
+ }
99
+
100
+ .hljs-emphasis {
101
+ font-style: italic;
102
+ }
103
+
104
+ .hljs-strong {
105
+ font-weight: 700;
106
+ }
107
+ }