1
0
silverbullet/website/Sandbox.md

57 lines
3.1 KiB
Markdown
Raw Normal View History

What does SilverBullet look like? Well, have a look around. **Youre looking at it at this very moment!** 🤯
2022-09-05 14:15:01 +00:00
2023-03-12 06:19:43 +00:00
Note that what youre looking at is not a fully functional version because the _back-end is read-only_. That said, it should give you some feel for what its like to use SB before making the commitment of running a single `deno` command (see here: [[SilverBullet]]) to download and run it locally in its fully functioning mode.
2022-09-05 14:15:01 +00:00
## Start playing
2022-10-29 14:57:12 +00:00
So, feel free to make some edits in this space. Dont worry, you wont break anything, nothing is saved (just reload the page to see).
2022-09-05 14:15:01 +00:00
Here are some things to try:
2022-11-18 16:06:30 +00:00
* Click on the page picker (folder tree) icon at the top right, or hit `Cmd-k` (Mac) or `Ctrl-k` (Linux and Windows) to open the **page switcher**. Type the name of a nonexistent page to create it (although it wont save in this environment).
2022-10-29 14:57:12 +00:00
* Click on the run button (top right) or hit `Cmd-/` (Mac) or `Ctrl-/` (Linux and Windows) to open the **command palette** (note not all commands will work in this quasi read-only mode).
* Select some text and hit `Alt-m` to ==highlight== it, or `Cmd-b` (Mac) or `Ctrl-b` to make it **bold**.
* Click a link somewhere in this page to navigate there.
* Start typing `[[` somewhere to insert a page link (with completion).
* [ ] Tap this box 👈 to mark this task as done.
* Start typing `:party` to trigger the emoji picker 🎉
* Type `/` somewhere in the text to invoke a **slash command**.
* Hit `Cmd-p` (Mac) or `Ctrl-p` (Windows, Linux) to show a live preview for the current page on the side, if your brain doesnt speak native Markdown yet.
* Open this site on your phone or tablet and… it just works!
* Are you using a browser with **PWA support** (e.g. any Chromium-based
browser)? Click on that little icon to the right of your location bar that says “Install SilverBullet” to give SB its own window frame and desktop icon, like it is a stand-alone app (not particularly useful on silverbullet.md, but definitely do this once you install it yourself).
2022-10-29 14:57:12 +00:00
2022-11-18 16:17:07 +00:00
Oh yeah, you can use fancy things like tables:
| Page | Comment |
|----------|----------|
| [[SilverBullet]] | Main product page |
2022-11-18 16:17:07 +00:00
| [[CHANGELOG]] | The latest updates |
or code snippets, like JavaScript:
```javascript
function helloWorld() {
return "Hello there!"
}
```
or YAML:
```yaml
name: SilverBullet
2022-11-18 16:17:07 +00:00
rating: 5
```
Click into any of these and edit them.
2022-10-29 14:57:12 +00:00
There are a few features you dont get to fully experience in this environment, because they rely on a working back-end, such as:
* Using SBs powerful page indexing and **query mechanism** where part of pages are automatically rendered and kept up to date by querying various data sources (such as pages and their metadata, back links, tasks embedded in pages, and list items) with an SQL like syntax, rendered with handlebars templates.
* Intelligent **page renaming**, automatically updating any pages that link to it.
* **Full text search**.
* **Extending** and updating SBs functionality by installing additional [[🔌 Plugs]] (SB parlance for plug-ins) and writing your own.
Thats all, now go install this baby already!
Instructions here 👉 [[SilverBullet]]