diff --git a/plugs/federation/federation.ts b/plugs/federation/federation.ts index bc67b28..0088cf6 100644 --- a/plugs/federation/federation.ts +++ b/plugs/federation/federation.ts @@ -119,13 +119,8 @@ export async function readFile( name: string, ): Promise<{ data: Uint8Array; meta: FileMeta } | undefined> { const url = federatedPathToUrl(name); - console.log("Fetfching fedderated file", url); - const r = await nativeFetch(url, { - method: "GET", - headers: { - "X-Sync-Mode": "true", - }, - }); + console.log("Fetching fedderated file", url); + const r = await nativeFetch(url); if (r.status === 503) { throw new Error("Offline"); } diff --git a/website/Install/Configuration.md b/website/Install/Configuration.md index 6cf2230..b7717c9 100644 --- a/website/Install/Configuration.md +++ b/website/Install/Configuration.md @@ -87,7 +87,7 @@ $runmode # Security $security -SilverBullet enables plugs to run shell commands. This is used by e.g. the [[๐Ÿ”Œ Git]] plug to perform git commands. This is potentially unsafe. If you donโ€™t need this, you can disable this functionality: +SilverBullet enables plugs to run shell commands. This is used by e.g. the [[Plugs/Git]] plug to perform git commands. This is potentially unsafe. If you donโ€™t need this, you can disable this functionality: * `SB_SHELL_BACKEND`: Enable/disable running of shell commands from plugs, defaults to `local` (enabled), set to `off` to disable. It is only enabled when using a local folder for [[$storage]]. diff --git a/website/๐Ÿ”Œ Editor/Link Unfurl.md b/website/Link Unfurl.md similarity index 100% rename from website/๐Ÿ”Œ Editor/Link Unfurl.md rename to website/Link Unfurl.md diff --git a/website/Plugs/Editor.md b/website/Plugs/Editor.md index a403fe4..449e877 100644 --- a/website/Plugs/Editor.md +++ b/website/Plugs/Editor.md @@ -30,7 +30,7 @@ The `editor` plug implements foundational editor functionality for SilverBullet. * {[Text: Bold]}: make text **bold** * {[Text: Italic]}: make text _italic_ * {[Text: Marker]}: mark text with a ==marker color== -* {[Link: Unfurl]}: โ€œUnfurlโ€ a link, see [[๐Ÿ”Œ Editor/Link Unfurl]] +* {[Link: Unfurl]}: โ€œUnfurlโ€ a link, see [[Link Unfurl]] # Outlines ```template diff --git a/website/๐Ÿ”Œ Ghost.md b/website/Plugs/Ghost.md similarity index 96% rename from website/๐Ÿ”Œ Ghost.md rename to website/Plugs/Ghost.md index 9a7ecb2..50542db 100644 --- a/website/๐Ÿ”Œ Ghost.md +++ b/website/Plugs/Ghost.md @@ -1,5 +1,5 @@ --- -type: plug +tags: plug uri: github:silverbulletmd/silverbullet-ghost/ghost.plug.js repo: https://github.com/silverbulletmd/silverbullet-ghost author: Zef Hemel diff --git a/website/๐Ÿ”Œ Git.md b/website/Plugs/Git.md similarity index 95% rename from website/๐Ÿ”Œ Git.md rename to website/Plugs/Git.md index 20fe7d1..993dc87 100644 --- a/website/๐Ÿ”Œ Git.md +++ b/website/Plugs/Git.md @@ -1,5 +1,5 @@ --- -type: plug +tags: plug uri: github:silverbulletmd/silverbullet-git/git.plug.js repo: https://github.com/silverbulletmd/silverbullet-git author: Zef Hemel diff --git a/website/Spaces.md b/website/Spaces.md index 62b70c1..685108f 100644 --- a/website/Spaces.md +++ b/website/Spaces.md @@ -1,6 +1,6 @@ A _space_ is SilverBullet terminology for a workspace, or project. [Obsidian](https://obsidian.md/) calls this a vault, [LogSeq](https://logseq.com/) calls it a graph. You may think of it as a [[Folders|folder]] or a directory โ€” because in practical terms, thatโ€™s all it is. -Feel free to back-up or manipulate your spaceโ€™s folder and its files with whatever tool you like โ€” you donโ€™t have to use SilverBullet exclusively. You may want to turn your spaceโ€™s folder into a git repository, for instance, and do version control and back-ups that way โ€” in which case you may appreciated the [[๐Ÿ”Œ Git]] plug. +Feel free to back-up or manipulate your spaceโ€™s folder and its files with whatever tool you like โ€” you donโ€™t have to use SilverBullet exclusively. You may want to turn your spaceโ€™s folder into a git repository, for instance, and do version control and back-ups that way โ€” in which case you may appreciated the [[Plugs/Git]] plug. A space consists of * [[Folders]] diff --git a/website/๐Ÿ”Œ Core/Edit Commands.md b/website/๐Ÿ”Œ Core/Edit Commands.md deleted file mode 100644 index 0faea62..0000000 --- a/website/๐Ÿ”Œ Core/Edit Commands.md +++ /dev/null @@ -1,5 +0,0 @@ -The [[Plugs/Editor]] plug provides various useful edit commands, such as: - -* {[Text: Bold]} {[Text: Italic]} {[Text: Marker]} to respectively make text bold, italic or mark it. -* {[Text: Listify Selection]} to turn each line in the selection into a (bullet) list -* {[Text: Number Listify Selection]} to turn each line in the selection into a numbered list