chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-01-08 01:55:56 +04:00
parent c417fdd94d
commit 700349064d
97 changed files with 4650 additions and 986 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ export function citationExtension() {
while ((m = groupRegex.exec(raw))) {
// m[1] is the content inside brackets, e.g. "1, 2#foo"
const parts = m[1].split(',').map((p) => p.trim());
parts.forEach((part) => {
// Check if it starts with digit
const match = /^(\d+)(?:#(.+))?$/.exec(part);
@@ -45,7 +45,7 @@ export function citationExtension() {
}
});
}
if (ids.length === 0) return;
return {