Refactor all the things
This commit is contained in:
@@ -3,6 +3,12 @@ release.
|
||||
|
||||
---
|
||||
|
||||
## Next
|
||||
* Another heavy behind-the-scenes refactoring release, refactoring the large “core” plug into multiple smaller ones, documentation to be updated to reflect this.
|
||||
* Removed [[Cloud Links]] support in favor of [[Federation]]
|
||||
|
||||
---
|
||||
|
||||
## 0.3.11
|
||||
|
||||
* Cookies set when using SilverBullet's built-in [[Authentication]] are now per domain + port, allowing you to run multiple instances of SB on a single host with different ports without the authentication interfering.
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
You can access the “markdown web” through SilverBullet directly. The idea of the the markdown web (we really need a better name) is simple: the Internet is a messy place — tracking everywhere, tons of banners and other stuff — let’s bring it back to the basics. How about Markdown?
|
||||
|
||||
SilverBullet supports navigating this markdown web via cloud links, they’re simply wiki links that start with “💭 “. For instance: [[💭 silverbullet.md/SilverBullet]]. When you click one of these links, SilverBullet will simply pull in its content and present it to you in read-only mode (and do some clever internal link rewriting). What it does is simply fetch the link via HTTPs and postfix the url with `.md`, so [[💭 silverbullet.md/SilverBullet]] will fetch [this page](https://silverbullet.md/Silver%20Bullet.md). You can access all of the SilverBullet website this way, for instance here’s the [[💭 silverbullet.md/CHANGELOG]].
|
||||
|
||||
To publish your own content this way, simply create an `index.md` on your host (this will be fetched as the main page), and publish all the rest of your content as `.md` files alongside it. That’s all there’s to it.
|
||||
Deprecated in favor of [[Federation]]
|
||||
+1
-1
@@ -33,7 +33,7 @@ spaceIgnore: |
|
||||
plugOverrides:
|
||||
core:
|
||||
# Matching this YAML structure:
|
||||
# https://github.com/silverbulletmd/silverbullet/blob/main/plugs/core/core.plug.yaml
|
||||
# https://github.com/silverbulletmd/silverbullet/blob/main/plugs/editor/editor.plug.yaml
|
||||
# and overriding the "key" for centering the cursor
|
||||
functions.centerCursor.command.key: Ctrl-Alt-p
|
||||
# However, it's even possible to define custom slash commands this way without building a plug (/today-header in this case):
|
||||
|
||||
@@ -57,7 +57,7 @@ A simple example is multiplying numbers:
|
||||
|
||||
However, you can also invoke arbitrary plug functions, e.g. the `titleUnfurlOptions` function in the `core` plug:
|
||||
|
||||
<!-- #eval core.titleUnfurlOptions() -->
|
||||
<!-- #eval editor.titleUnfurlOptions() -->
|
||||
|id |name |
|
||||
|------------|-------------|
|
||||
|title-unfurl|Extract title|
|
||||
@@ -65,7 +65,7 @@ However, you can also invoke arbitrary plug functions, e.g. the `titleUnfurlOpti
|
||||
|
||||
Optionally, you can use a `render` clause to render the result as a template, similar to [[🔌 Directive/Query]]:
|
||||
|
||||
<!-- #eval core.titleUnfurlOptions() render [[template/debug]] -->
|
||||
<!-- #eval editor.titleUnfurlOptions() render [[template/debug]] -->
|
||||
id: title-unfurl
|
||||
name: Extract title
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user