1
0
silverbullet/website/Sandbox.md
2022-11-18 17:17:07 +01:00

3.1 KiB
Raw Blame History

What does Silver Bullet look like? Well, have a look around. Youre looking at it at this very moment! 🤯

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: Silver Bullet) to download and run it locally in its fully functioning mode.

Start playing

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).

Here are some things to try:

  • 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).
  • 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 Silver Bullet” 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).

Oh yeah, you can use fancy things like tables:

Page Comment
Silver Bullet Main product page
CHANGELOG The latest updates

or code snippets, like JavaScript:

function helloWorld() {
   return "Hello there!"
}

or YAML:

name: Silver Bullet
rating: 5

Click into any of these and edit them.

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 👉 Silver Bullet