Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

63 lines
2.0 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 500058
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
var t, i;
(i = {
"equation-command": {
pattern: (t = /\\(?:[^a-z()[\]]|[a-z*]+)/i),
alias: "regex",
},
}),
(e.languages.latex = {
comment: /%.*/,
cdata: {
pattern:
/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
lookbehind: !0,
},
equation: [
{
pattern:
/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,
inside: i,
alias: "string",
},
{
pattern:
/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
lookbehind: !0,
inside: i,
alias: "string",
},
],
keyword: {
pattern:
/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
lookbehind: !0,
},
url: { pattern: /(\\url\{)[^}]+(?=\})/, lookbehind: !0 },
headline: {
pattern:
/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
lookbehind: !0,
alias: "class-name",
},
function: { pattern: t, alias: "selector" },
punctuation: /[[\]{}&]/,
}),
(e.languages.tex = e.languages.latex),
(e.languages.context = e.languages.latex);
}
(t.exports = r),
(r.displayName = "latex"),
(r.aliases = ["tex", "context"]);
};
export default moduleFactory;