diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 83b76d4..8257267 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -58,7 +58,7 @@ jobs:
- name: Deploy GitHub Pages
if: github.event_name != 'pull_request'
- uses: JamesIves/github-pages-deploy-action@v4.4.1
+ uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: book
diff --git a/theme/book.js b/theme/book.js
index dd9dd8a..e45be65 100644
--- a/theme/book.js
+++ b/theme/book.js
@@ -20,7 +20,7 @@ function playground_text(playground) {
return Promise.race([
fetch(url, options),
new Promise((_, reject) =>
- setTimeout(() => reject(new Error("timeout")), timeout)
+ setTimeout(() => reject(new Error("timeout")), timeout),
),
]);
}
@@ -38,10 +38,10 @@ function playground_text(playground) {
.then((response) => {
// get list of crates available in the rust playground
let playground_crates = response.crates.map(
- (item) => item["id"]
+ (item) => item["id"],
);
playgrounds.forEach((block) =>
- handle_crate_list_update(block, playground_crates)
+ handle_crate_list_update(block, playground_crates),
);
});
}
@@ -154,7 +154,7 @@ function playground_text(playground) {
.catch(
(error) =>
(result_block.innerText =
- "Playground Communication: " + error.message)
+ "Playground Communication: " + error.message),
);
}
@@ -238,88 +238,92 @@ function playground_text(playground) {
block.classList.add("hide-boring");
}
});
- }
+ },
);
if (window.playground_copyable) {
- Array.from(document.querySelectorAll("pre code")).forEach(function (
- block
- ) {
- var pre_block = block.parentNode;
- if (!pre_block.classList.contains("playground")) {
- var buttons = pre_block.querySelector(".buttons");
- if (!buttons) {
- buttons = document.createElement("div");
- buttons.className = "buttons";
- pre_block.insertBefore(buttons, pre_block.firstChild);
- }
+ Array.from(document.querySelectorAll("pre code")).forEach(
+ function (block) {
+ var pre_block = block.parentNode;
+ if (!pre_block.classList.contains("playground")) {
+ var buttons = pre_block.querySelector(".buttons");
+ if (!buttons) {
+ buttons = document.createElement("div");
+ buttons.className = "buttons";
+ pre_block.insertBefore(buttons, pre_block.firstChild);
+ }
- var clipButton = document.createElement("button");
- clipButton.className = "fa fa-copy clip-button";
- clipButton.title = "Copy to clipboard";
- clipButton.setAttribute("aria-label", clipButton.title);
- clipButton.innerHTML = '';
+ var clipButton = document.createElement("button");
+ clipButton.className = "fa fa-copy clip-button";
+ clipButton.title = "Copy to clipboard";
+ clipButton.setAttribute("aria-label", clipButton.title);
+ clipButton.innerHTML = '';
- buttons.insertBefore(clipButton, buttons.firstChild);
- }
- });
+ buttons.insertBefore(clipButton, buttons.firstChild);
+ }
+ },
+ );
}
// Process playground code blocks
- Array.from(document.querySelectorAll(".playground")).forEach(function (
- pre_block
- ) {
- // Add play button
- var buttons = pre_block.querySelector(".buttons");
- if (!buttons) {
- buttons = document.createElement("div");
- buttons.className = "buttons";
- pre_block.insertBefore(buttons, pre_block.firstChild);
- }
+ Array.from(document.querySelectorAll(".playground")).forEach(
+ function (pre_block) {
+ // Add play button
+ var buttons = pre_block.querySelector(".buttons");
+ if (!buttons) {
+ buttons = document.createElement("div");
+ buttons.className = "buttons";
+ pre_block.insertBefore(buttons, pre_block.firstChild);
+ }
- var runCodeButton = document.createElement("button");
- runCodeButton.className = "fa fa-play play-button";
- runCodeButton.hidden = true;
- runCodeButton.title = "Run this code";
- runCodeButton.setAttribute("aria-label", runCodeButton.title);
+ var runCodeButton = document.createElement("button");
+ runCodeButton.className = "fa fa-play play-button";
+ runCodeButton.hidden = true;
+ runCodeButton.title = "Run this code";
+ runCodeButton.setAttribute("aria-label", runCodeButton.title);
- buttons.insertBefore(runCodeButton, buttons.firstChild);
- runCodeButton.addEventListener("click", function (e) {
- run_rust_code(pre_block);
- });
+ buttons.insertBefore(runCodeButton, buttons.firstChild);
+ runCodeButton.addEventListener("click", function (e) {
+ run_rust_code(pre_block);
+ });
- if (window.playground_copyable) {
- var copyCodeClipboardButton = document.createElement("button");
- copyCodeClipboardButton.className = "fa fa-copy clip-button";
- copyCodeClipboardButton.innerHTML = '';
- copyCodeClipboardButton.title = "Copy to clipboard";
- copyCodeClipboardButton.setAttribute(
- "aria-label",
- copyCodeClipboardButton.title
- );
+ if (window.playground_copyable) {
+ var copyCodeClipboardButton = document.createElement("button");
+ copyCodeClipboardButton.className = "fa fa-copy clip-button";
+ copyCodeClipboardButton.innerHTML =
+ '';
+ copyCodeClipboardButton.title = "Copy to clipboard";
+ copyCodeClipboardButton.setAttribute(
+ "aria-label",
+ copyCodeClipboardButton.title,
+ );
- buttons.insertBefore(copyCodeClipboardButton, buttons.firstChild);
- }
+ buttons.insertBefore(
+ copyCodeClipboardButton,
+ buttons.firstChild,
+ );
+ }
- let code_block = pre_block.querySelector("code");
- if (window.ace && code_block.classList.contains("editable")) {
- var undoChangesButton = document.createElement("button");
- undoChangesButton.className = "fa fa-history reset-button";
- undoChangesButton.title = "Undo changes";
- undoChangesButton.setAttribute(
- "aria-label",
- undoChangesButton.title
- );
+ let code_block = pre_block.querySelector("code");
+ if (window.ace && code_block.classList.contains("editable")) {
+ var undoChangesButton = document.createElement("button");
+ undoChangesButton.className = "fa fa-history reset-button";
+ undoChangesButton.title = "Undo changes";
+ undoChangesButton.setAttribute(
+ "aria-label",
+ undoChangesButton.title,
+ );
- buttons.insertBefore(undoChangesButton, buttons.firstChild);
+ buttons.insertBefore(undoChangesButton, buttons.firstChild);
- undoChangesButton.addEventListener("click", function () {
- let editor = window.ace.edit(code_block);
- editor.setValue(editor.originalCode);
- editor.clearSelection();
- });
- }
- });
+ undoChangesButton.addEventListener("click", function () {
+ let editor = window.ace.edit(code_block);
+ editor.setValue(editor.originalCode);
+ editor.clearSelection();
+ });
+ }
+ },
+ );
})();
(function themes() {
@@ -380,7 +384,7 @@ function playground_text(playground) {
setTimeout(function () {
themeColorMetaTag.content = getComputedStyle(
- document.body
+ document.body,
).backgroundColor;
}, 1);
@@ -537,14 +541,14 @@ function playground_text(playground) {
if (html.classList.contains("sidebar-hidden")) {
var current_width = parseInt(
document.documentElement.style.getPropertyValue(
- "--sidebar-width"
+ "--sidebar-width",
),
- 10
+ 10,
);
if (current_width < 150) {
document.documentElement.style.setProperty(
"--sidebar-width",
- "150px"
+ "150px",
);
}
showSidebar();
@@ -577,7 +581,7 @@ function playground_text(playground) {
pos = Math.min(pos, window.innerWidth - 100);
document.documentElement.style.setProperty(
"--sidebar-width",
- pos + "px"
+ pos + "px",
);
}
}
@@ -596,7 +600,7 @@ function playground_text(playground) {
time: Date.now(),
};
},
- { passive: true }
+ { passive: true },
);
document.addEventListener(
@@ -620,7 +624,7 @@ function playground_text(playground) {
firstContact = null;
}
},
- { passive: true }
+ { passive: true },
);
// Scroll sidebar to current active section
@@ -653,7 +657,7 @@ function playground_text(playground) {
case "ArrowLeft":
e.preventDefault();
var previousButton = document.querySelector(
- ".nav-chapters.previous"
+ ".nav-chapters.previous",
);
if (previousButton) {
window.location.href = previousButton.href;
@@ -755,7 +759,7 @@ function playground_text(playground) {
}
prevScrollTop = scrollTop;
},
- { passive: true }
+ { passive: true },
);
})();
(function controllBorder() {
@@ -769,7 +773,7 @@ function playground_text(playground) {
menu.classList.add("bordered");
}
},
- { passive: true }
+ { passive: true },
);
})();
})();
diff --git a/theme/css/chrome.css b/theme/css/chrome.css
index 38dc367..49d4cf0 100644
--- a/theme/css/chrome.css
+++ b/theme/css/chrome.css
@@ -165,19 +165,31 @@ a > .hljs {
-ms-flex-direction: column;
flex-direction: column;
- -webkit-transition: color 0.5s, background-color 0.5s;
+ -webkit-transition:
+ color 0.5s,
+ background-color 0.5s;
- -o-transition: color 0.5s, background-color 0.5s;
+ -o-transition:
+ color 0.5s,
+ background-color 0.5s;
- transition: color 0.5s, background-color 0.5s;
+ transition:
+ color 0.5s,
+ background-color 0.5s;
}
.nav-chapters:hover {
text-decoration: none;
background-color: var(--theme-hover);
- -webkit-transition: background-color 0.15s, color 0.15s;
- -o-transition: background-color 0.15s, color 0.15s;
- transition: background-color 0.15s, color 0.15s;
+ -webkit-transition:
+ background-color 0.15s,
+ color 0.15s;
+ -o-transition:
+ background-color 0.15s,
+ color 0.15s;
+ transition:
+ background-color 0.15s,
+ color 0.15s;
}
.nav-wrapper {
@@ -307,9 +319,11 @@ mark.fade-out {
transition: -webkit-box-shadow 300ms ease-in-out;
-o-transition: box-shadow 300ms ease-in-out;
transition: box-shadow 300ms ease-in-out;
- transition: box-shadow 300ms ease-in-out,
+ transition:
+ box-shadow 300ms ease-in-out,
-webkit-box-shadow 300ms ease-in-out;
- transition: box-shadow 300ms ease-in-out,
+ transition:
+ box-shadow 300ms ease-in-out,
-webkit-box-shadow 300ms ease-in-out;
border: 1px solid var(--searchbar-border-color);
border-radius: 3px;
@@ -387,7 +401,9 @@ ul#searchresults span.teaser em {
transition: -webkit-transform 0.3s;
-o-transition: transform 0.3s;
transition: transform 0.3s;
- transition: transform 0.3s, -webkit-transform 0.3s; /* Animation: slide away */
+ transition:
+ transform 0.3s,
+ -webkit-transform 0.3s; /* Animation: slide away */
}
.sidebar code {
line-height: 2em;
@@ -491,7 +507,9 @@ ul#searchresults span.teaser em {
transition: -webkit-transform 0.5s;
-o-transition: transform 0.5s;
transition: transform 0.5s;
- transition: transform 0.5s, -webkit-transform 0.5s;
+ transition:
+ transform 0.5s,
+ -webkit-transform 0.5s;
}
/* collapse the section */
diff --git a/theme/css/general.css b/theme/css/general.css
index 9da76e8..97edde5 100644
--- a/theme/css/general.css
+++ b/theme/css/general.css
@@ -8,7 +8,9 @@
}
html {
- font-family: Vazirmatn RD UI FD, sans-serif;
+ font-family:
+ Vazirmatn RD UI FD,
+ sans-serif;
color: var(--fg);
background-color: var(--bg);
-moz-text-size-adjust: none;
@@ -125,13 +127,25 @@ h2 a.header {
}
.js:not(.sidebar-resizing) .page-wrapper {
- -webkit-transition: margin-right 0.3s ease, -webkit-transform 0.3s ease;
- transition: margin-right 0.3s ease, -webkit-transform 0.3s ease;
- -o-transition: margin-right 0.3s ease, transform 0.3s ease;
- transition: margin-right 0.3s ease, transform 0.3s ease;
- transition: margin-right 0.3s ease, transform 0.3s ease,
+ -webkit-transition:
+ margin-right 0.3s ease,
-webkit-transform 0.3s ease;
- transition: margin-right 0.3s ease, transform 0.3s ease,
+ transition:
+ margin-right 0.3s ease,
+ -webkit-transform 0.3s ease;
+ -o-transition:
+ margin-right 0.3s ease,
+ transform 0.3s ease;
+ transition:
+ margin-right 0.3s ease,
+ transform 0.3s ease;
+ transition:
+ margin-right 0.3s ease,
+ transform 0.3s ease,
+ -webkit-transform 0.3s ease;
+ transition:
+ margin-right 0.3s ease,
+ transform 0.3s ease,
-webkit-transform 0.3s ease; /* Animation: slide away */
}
diff --git a/theme/highlight.js b/theme/highlight.js
index 60a74f8..3f95a2d 100644
--- a/theme/highlight.js
+++ b/theme/highlight.js
@@ -253,7 +253,7 @@ var hljs = (function () {
m = function (e, n, t = {}) {
var a = r(
{ className: "comment", begin: e, end: n, contains: [] },
- t
+ t,
);
return (
a.contains.push(b),
@@ -294,7 +294,7 @@ var hljs = (function () {
0 !== e.index && n.ignoreMatch();
},
},
- e
+ e,
)
);
},
@@ -427,7 +427,7 @@ var hljs = (function () {
y.subLanguage,
A,
!0,
- k[y.subLanguage]
+ k[y.subLanguage],
)),
(k[y.subLanguage] = e.top);
} else
@@ -435,7 +435,7 @@ var hljs = (function () {
A,
y.subLanguage.length
? y.subLanguage
- : null
+ : null,
);
y.relevance > 0 && (I += e.relevance),
O.addSublanguage(e.emitter, e.language);
@@ -504,7 +504,7 @@ var hljs = (function () {
r.endSameAsBegin &&
(r.endRe = RegExp(
t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"),
- "m"
+ "m",
)),
r.skip
? (A += t)
@@ -521,7 +521,7 @@ var hljs = (function () {
i +
'" for mode "' +
(y.className || "") +
- '"'
+ '"',
);
throw ((e.mode = y), e);
}
@@ -571,7 +571,7 @@ var hljs = (function () {
if ("illegal" === r.type && "" === i) return 1;
if (B > 1e5 && B > 3 * r.index)
throw Error(
- "potential infinite loop, way more iterations than matches"
+ "potential infinite loop, way more iterations than matches",
);
return (A += i), i.length;
}
@@ -587,7 +587,7 @@ var hljs = (function () {
d(n),
"m" +
(e.case_insensitive ? "i" : "") +
- (t ? "g" : "")
+ (t ? "g" : ""),
);
}
class t {
@@ -638,7 +638,7 @@ var hljs = (function () {
}
(a += o.substring(0, l.index)),
(o = o.substring(
- l.index + l[0].length
+ l.index + l[0].length,
)),
"\\" === l[0][0] && l[1]
? (a += "\\" + (+l[1] + s))
@@ -649,7 +649,7 @@ var hljs = (function () {
}
return a;
})(e),
- !0
+ !0,
)),
(this.lastIndex = 0);
}
@@ -658,7 +658,7 @@ var hljs = (function () {
const n = this.matcherRe.exec(e);
if (!n) return null;
const t = n.findIndex(
- (e, n) => n > 0 && void 0 !== e
+ (e, n) => n > 0 && void 0 !== e,
),
r = this.matchIndexes[t];
return n.splice(0, t), Object.assign(n, r);
@@ -712,7 +712,7 @@ var hljs = (function () {
}
if (e.contains && e.contains.includes("self"))
throw Error(
- "ERR: contains `self` is not supported at the top-level of a language. See documentation."
+ "ERR: contains `self` is not supported at the top-level of a language. See documentation.",
);
return (function t(s, o) {
const l = s;
@@ -731,11 +731,11 @@ var hljs = (function () {
return (
"string" == typeof e
? r("keyword", e)
- : Object.keys(e).forEach(function (
- n
- ) {
- r(n, e[n]);
- }),
+ : Object.keys(e).forEach(
+ function (n) {
+ r(n, e[n]);
+ },
+ ),
t
);
function r(e, r) {
@@ -749,12 +749,12 @@ var hljs = (function () {
s.lexemes && c)
)
throw Error(
- "ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) "
+ "ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ",
);
return (
(l.keywordPatternRe = n(
s.lexemes || c || /\w+/,
- !0
+ !0,
)),
o &&
(s.beginKeywords &&
@@ -783,15 +783,18 @@ var hljs = (function () {
e.variants &&
!e.cached_variants &&
(e.cached_variants =
- e.variants.map(function (
- n
- ) {
- return r(
- e,
- { variants: null },
- n
- );
- })),
+ e.variants.map(
+ function (n) {
+ return r(
+ e,
+ {
+ variants:
+ null,
+ },
+ n,
+ );
+ },
+ )),
e.cached_variants
? e.cached_variants
: (function e(n) {
@@ -811,7 +814,7 @@ var hljs = (function () {
: e
);
})("self" === e ? s : e);
- })
+ }),
)),
s.contains.forEach(function (e) {
t(e, l);
@@ -824,7 +827,7 @@ var hljs = (function () {
n.addRule(e.begin, {
rule: e,
type: "begin",
- })
+ }),
),
e.terminator_end &&
n.addRule(e.terminator_end, {
@@ -944,7 +947,7 @@ var hljs = (function () {
: e
: f.tabReplace
? e.replace(/\t/g, f.tabReplace)
- : e
+ : e,
)
: e;
}
@@ -961,7 +964,7 @@ var hljs = (function () {
(console.warn(g.replace("{}", t[1])),
console.warn(
"Falling back to no-highlight mode for this block.",
- e
+ e,
)),
r ? t[1] : "no-highlight"
);
@@ -1054,8 +1057,8 @@ var hljs = (function () {
(console.error(
"Language definition for '{}' could not be registered.".replace(
"{}",
- e
- )
+ e,
+ ),
),
!l)
)
@@ -1078,8 +1081,8 @@ var hljs = (function () {
throw Error(
"The '{}' language is required, but not loaded.".replace(
"{}",
- e
- )
+ e,
+ ),
);
},
autoDetection: I,
@@ -1224,7 +1227,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"nginx",
@@ -1329,7 +1332,7 @@ hljs.registerLanguage(
illegal: "[^\\s\\}]",
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"csharp",
@@ -1541,7 +1544,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"perl",
@@ -1681,7 +1684,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"swift",
@@ -1786,7 +1789,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"makefile",
@@ -1853,7 +1856,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"css",
@@ -1971,7 +1974,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"xml",
@@ -2113,7 +2116,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"bash",
@@ -2192,7 +2195,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"c-like",
@@ -2386,7 +2389,7 @@ hljs.registerLanguage(
exports: { preprocessor: s, strings: a, keywords: l },
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"coffeescript",
@@ -2505,7 +2508,7 @@ hljs.registerLanguage(
"SyntaxError",
"TypeError",
"URIError",
- ]
+ ],
);
return function (r) {
var t = {
@@ -2527,7 +2530,7 @@ hljs.registerLanguage(
(
(e) => (n) =>
!e.includes(n)
- )(["var", "const", "let", "function", "static"])
+ )(["var", "const", "let", "function", "static"]),
)
.join(" "),
literal: n.concat(["yes", "no", "on", "off"]).join(" "),
@@ -2658,7 +2661,7 @@ hljs.registerLanguage(
]),
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"ruby",
@@ -2824,7 +2827,7 @@ hljs.registerLanguage(
contains: r.concat(g).concat(d),
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"yaml",
@@ -2944,7 +2947,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"d",
@@ -3027,7 +3030,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"properties",
@@ -3084,7 +3087,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"http",
@@ -3135,7 +3138,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"haskell",
@@ -3239,7 +3242,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"handlebars",
@@ -3250,7 +3253,7 @@ hljs.registerLanguage(
.map((e) =>
(function (e) {
return e ? ("string" == typeof e ? e : e.source) : null;
- })(e)
+ })(e),
)
.join("");
}
@@ -3272,7 +3275,7 @@ hljs.registerLanguage(
s,
"|",
/\.|\//,
- ")+"
+ ")+",
),
r = e("(", t, "|", s, ")(?==)"),
l = { begin: i, lexemes: /[\w.\/]+/ },
@@ -3392,7 +3395,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"rust",
@@ -3484,7 +3487,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"cpp",
@@ -3499,7 +3502,7 @@ hljs.registerLanguage(
t
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"ini",
@@ -3572,7 +3575,7 @@ hljs.registerLanguage(
"(\\s*\\.\\s*",
g,
")*",
- n("(?=", /\s*=\s*[^#\s]/, ")")
+ n("(?=", /\s*=\s*[^#\s]/, ")"),
),
className: "attr",
starts: { end: /$/, contains: [i, c, r, t, l, s] },
@@ -3580,7 +3583,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"objectivec",
@@ -3660,7 +3663,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"apache",
@@ -3727,7 +3730,7 @@ hljs.registerLanguage(
illegal: /\S/,
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"java",
@@ -3765,17 +3768,17 @@ hljs.registerLanguage(
s(
a(r("a-fA-F0-9"), /\./, r("a-fA-F0-9")),
a(r("a-fA-F0-9"), /\.?/),
- a(/\./, r("a-fA-F0-9"))
+ a(/\./, r("a-fA-F0-9")),
),
/([pP][+-]?(\d+))?/,
- /[fFdDlL]?/
+ /[fFdDlL]?/,
),
},
{
begin: a(
/\b/,
s(a(/\d*\./, r("\\d")), r("\\d")),
- /[eE][+-]?[\d]+[dDfF]?/
+ /[eE][+-]?[\d]+[dDfF]?/,
),
},
{
@@ -3784,7 +3787,7 @@ hljs.registerLanguage(
r(/\d/),
n(/\.?/),
n(r(/\d/)),
- /[dDfFlL]?/
+ /[dDfFlL]?/,
),
},
],
@@ -3860,7 +3863,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"x86asm",
@@ -3921,7 +3924,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"kotlin",
@@ -4123,7 +4126,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"armasm",
@@ -4193,7 +4196,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"go",
@@ -4250,7 +4253,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"diff",
@@ -4287,7 +4290,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"python",
@@ -4411,7 +4414,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"shell",
@@ -4430,7 +4433,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"scala",
@@ -4533,7 +4536,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"julia",
@@ -4606,7 +4609,7 @@ hljs.registerLanguage(
a
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"php-template",
@@ -4642,7 +4645,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"scss",
@@ -4739,7 +4742,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"r",
@@ -4799,7 +4802,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"sql",
@@ -4851,7 +4854,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"c",
@@ -4861,7 +4864,7 @@ hljs.registerLanguage(
var n = e.getLanguage("c-like").rawDefinition();
return (n.name = "C"), (n.aliases = ["c", "h"]), n;
};
- })()
+ })(),
);
hljs.registerLanguage(
"json",
@@ -4907,7 +4910,7 @@ hljs.registerLanguage(
{ name: "JSON", contains: t, keywords: e, illegal: "\\S" }
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"python-repl",
@@ -4931,7 +4934,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"markdown",
@@ -5072,7 +5075,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"javascript",
@@ -5191,7 +5194,7 @@ hljs.registerLanguage(
"SyntaxError",
"TypeError",
"URIError",
- ]
+ ],
);
function s(e) {
return r("(?=", e, ")");
@@ -5201,7 +5204,7 @@ hljs.registerLanguage(
.map((e) =>
(function (e) {
return e ? ("string" == typeof e ? e : e.source) : null;
- })(e)
+ })(e),
)
.join("");
}
@@ -5337,9 +5340,9 @@ hljs.registerLanguage(
s(
r(
/(((\/\/.*)|(\/\*(.|\n)*\*\/))\s*)*/,
- i + "\\s*:"
- )
- )
+ i + "\\s*:",
+ ),
+ ),
),
relevance: 0,
contains: [
@@ -5451,7 +5454,7 @@ hljs.registerLanguage(
illegal: /#(?!!)/,
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"typescript",
@@ -5570,7 +5573,7 @@ hljs.registerLanguage(
"SyntaxError",
"TypeError",
"URIError",
- ]
+ ],
);
return function (r) {
var t = {
@@ -5780,7 +5783,7 @@ hljs.registerLanguage(
],
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"plaintext",
@@ -5793,7 +5796,7 @@ hljs.registerLanguage(
disableAutodetect: !0,
};
};
- })()
+ })(),
);
hljs.registerLanguage(
"less",
@@ -5836,7 +5839,7 @@ hljs.registerLanguage(
returnBegin: !0,
excludeEnd: !0,
},
- { className: "meta", begin: "!important" }
+ { className: "meta", begin: "!important" },
);
var c = s.concat({ begin: "{", end: "}", contains: a }),
l = {
@@ -5921,7 +5924,7 @@ hljs.registerLanguage(
g,
d,
o,
- b
+ b,
),
{
name: "Less",
@@ -5931,7 +5934,7 @@ hljs.registerLanguage(
}
);
};
- })()
+ })(),
);
hljs.registerLanguage(
"lua",
@@ -5986,5 +5989,5 @@ hljs.registerLanguage(
]),
};
};
- })()
+ })(),
);