Knowledge base: /docs/<title> permalinks, search, categories, count, better PDF
Articles get their own address (shareable, back/forward work); the list is searchable by title and text, shows the article count, and is grouped into Applications and Troubleshooting & Guides via a hidden category line set from the editor. PDF export lays out at page width with page breaks, a title block and page numbers; Print uses the browser's vector print. Inline code is a pill that glows blue on hover, blockquotes no longer squeeze, and GitHub-style [!NOTE] alerts render. [[Badge]] syntax inside code spans is left alone.
This commit is contained in:
1 parent
514bc31566
commit
a5c0a5210e
24 files changed
+525
-11
No files matched your search
+1
-1
@@ -1010,7 +1010,7 @@
|
||||
if (!cfg.Demo) return realFetch(input, init);
|
||||
|
||||
let url;
|
||||
try { url = new URL(typeof input === 'string' ? input : input.url, location.href); } catch (e) { return realFetch(input, init); }
|
||||
try { url = new URL(typeof input === 'string' ? input : input.url, document.baseURI); } catch (e) { return realFetch(input, init); }
|
||||
if (url.origin !== location.origin) return realFetch(input, init);
|
||||
|
||||
await Store.load();
|
||||
|
||||
Reference in new issue
Block a user