Content auto pulling, git pull link fix and cleaning console.log/console.time.

This commit is contained in:
Clément Pons
2025-10-28 16:45:35 +01:00
parent ab36eec4de
commit 1c3211d28e
8 changed files with 27 additions and 23 deletions

View File

@@ -50,7 +50,6 @@ export const wikilink: MarkdownConfig = {
}
else if(match[1] && match[2] && match[3]) //Link, hash and title
{
//console.log(cx.slice(pos, end), '/', cx.slice(start + 2, start + 2 + match[1].length + match[2].length), '/', cx.slice(start + 2 + match[1].length + match[2].length, start + 2 + match[1].length + match[2].length + 1), cx.slice(start + 2 + match[1].length + match[2].length + 1, start + 2 + match[1].length + match[2].length + match[3].length))
children.push(cx.elt('WikilinkHref', start + 2, start + 2 + match[1].length + match[2].length));
children.push(cx.elt('WikilinkMeta', start + 2 + match[1].length + match[2].length, start + 2 + match[1].length + match[2].length + 1));
children.push(cx.elt('WikilinkTitle', start + 2 + match[1].length + match[2].length + 1, start + 2 + match[1].length + match[2].length + match[3].length));