feat: refresh base example typography and snippets
This commit is contained in:
1 file changed
+6
-3
+6
-3
@@ -21,8 +21,8 @@
|
||||
logo: logo,
|
||||
page-numbering: "— I of I —",
|
||||
table-header-smallcaps: true,
|
||||
text-font: "Noto Sans",
|
||||
math-font: "Noto Sans Math",
|
||||
text-font: "Fira Sans",
|
||||
math-font: "Fira Math",
|
||||
no-pagebreak: true,
|
||||
show-credits: true,
|
||||
credits: [_Typset with #link("https://typst.app")[Typst]._],
|
||||
@@ -122,6 +122,9 @@
|
||||
]
|
||||
|
||||
#lorem(50)#footnote[#lorem(31)]#footnote[#lorem(13)]
|
||||
$
|
||||
det V(x_1, ..., x_n) = product_(1 <= i < j <= n)(x_j - x_i)
|
||||
$
|
||||
|
||||
#lorem(30) #qed
|
||||
|
||||
@@ -133,7 +136,7 @@
|
||||
#!/usr/bin/env node
|
||||
/* block comment */ // line comment
|
||||
const π = 0xFF + 0b1010 + 0o755 + 1_000 + 1.2e-3, nil = null, nope = undefined;
|
||||
let str = "double\n\"quote\"", s = 'single\'quote', tpl = `template ${π ?? 42} \`tick\``;
|
||||
let str = "double\n\"quote\"", s = '\'single\'', tpl = `template ${π ?? 42} \`tick\``;
|
||||
const re = /(?<=foo)[a-z\d_-]+?(?=bar)/giu;
|
||||
const obj = { key: true, ["computed-"+π]: false, nested: { ...{x: 1} } };
|
||||
const fn = async (x = 0) => x?.foo?.(π) ?? (() => { throw new Error("💥"); })();
|
||||
|
||||
Reference in new issue
Block a user