mirror of
https://github.com/quartz-community/utils.git
synced 2026-07-22 02:50:27 +00:00
build: rebuild dist
This commit is contained in:
parent
b6aa8b0feb
commit
e09d8b0bbc
4 changed files with 12 additions and 4 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
|
@ -150,7 +150,11 @@ function splitAnchor(link) {
|
|||
if (fp.endsWith(".pdf")) {
|
||||
return [fp, anchor === void 0 ? "" : `#${anchor}`];
|
||||
}
|
||||
const slugged = anchor === void 0 ? "" : "#" + slug(anchor);
|
||||
if (anchor === void 0) {
|
||||
return [fp, ""];
|
||||
}
|
||||
const bare = anchor.startsWith("^") ? anchor.slice(1) : anchor;
|
||||
const slugged = "#" + slug(bare);
|
||||
return [fp, slugged];
|
||||
}
|
||||
function slugTag(tag) {
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
6
dist/path.js
vendored
6
dist/path.js
vendored
|
|
@ -147,7 +147,11 @@ function splitAnchor(link) {
|
|||
if (fp.endsWith(".pdf")) {
|
||||
return [fp, anchor === void 0 ? "" : `#${anchor}`];
|
||||
}
|
||||
const slugged = anchor === void 0 ? "" : "#" + slug(anchor);
|
||||
if (anchor === void 0) {
|
||||
return [fp, ""];
|
||||
}
|
||||
const bare = anchor.startsWith("^") ? anchor.slice(1) : anchor;
|
||||
const slugged = "#" + slug(bare);
|
||||
return [fp, slugged];
|
||||
}
|
||||
function slugTag(tag) {
|
||||
|
|
|
|||
2
dist/path.js.map
vendored
2
dist/path.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue