Fix federation links
This commit is contained in:
parent
90659c9c7e
commit
5abdf1c80c
@ -119,13 +119,8 @@ export async function readFile(
|
|||||||
name: string,
|
name: string,
|
||||||
): Promise<{ data: Uint8Array; meta: FileMeta } | undefined> {
|
): Promise<{ data: Uint8Array; meta: FileMeta } | undefined> {
|
||||||
const url = federatedPathToUrl(name);
|
const url = federatedPathToUrl(name);
|
||||||
console.log("Fetfching fedderated file", url);
|
console.log("Fetching fedderated file", url);
|
||||||
const r = await nativeFetch(url, {
|
const r = await nativeFetch(url);
|
||||||
method: "GET",
|
|
||||||
headers: {
|
|
||||||
"X-Sync-Mode": "true",
|
|
||||||
},
|
|
||||||
});
|
|
||||||
if (r.status === 503) {
|
if (r.status === 503) {
|
||||||
throw new Error("Offline");
|
throw new Error("Offline");
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,7 @@ $runmode
|
|||||||
# Security
|
# Security
|
||||||
$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]].
|
* `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]].
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ The `editor` plug implements foundational editor functionality for SilverBullet.
|
|||||||
* {[Text: Bold]}: make text **bold**
|
* {[Text: Bold]}: make text **bold**
|
||||||
* {[Text: Italic]}: make text _italic_
|
* {[Text: Italic]}: make text _italic_
|
||||||
* {[Text: Marker]}: mark text with a ==marker color==
|
* {[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
|
# Outlines
|
||||||
```template
|
```template
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
type: plug
|
tags: plug
|
||||||
uri: github:silverbulletmd/silverbullet-ghost/ghost.plug.js
|
uri: github:silverbulletmd/silverbullet-ghost/ghost.plug.js
|
||||||
repo: https://github.com/silverbulletmd/silverbullet-ghost
|
repo: https://github.com/silverbulletmd/silverbullet-ghost
|
||||||
author: Zef Hemel
|
author: Zef Hemel
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
type: plug
|
tags: plug
|
||||||
uri: github:silverbulletmd/silverbullet-git/git.plug.js
|
uri: github:silverbulletmd/silverbullet-git/git.plug.js
|
||||||
repo: https://github.com/silverbulletmd/silverbullet-git
|
repo: https://github.com/silverbulletmd/silverbullet-git
|
||||||
author: Zef Hemel
|
author: Zef Hemel
|
@ -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.
|
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
|
A space consists of
|
||||||
* [[Folders]]
|
* [[Folders]]
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user