3.5 KiB
3.5 KiB
An attempt at documenting of the changes/new features introduced in each (pre) release.
0.0.31
- Update to the query language: the
renderclause now uses page reference syntax[[page]]. For examplerender [[template/task]]rather thanrender "template/task". The old syntax still works, but is deprecated, completion for the old syntax has been removed. - Updates to templates:
- For the
Template: Instantiate Pagecommand, the page meta value$nameis now used to configure the page name (wasnamebefore). Also if$nameis the only page meta defined, it will remove the page meta entirely when instantiating. - You can now configure a daily note prefix with
dailyNotePrefixinSETTINGSand create a template for your daily note undertemplate/page/Daily Note(configurable via thedailyNoteTemplatesetting). - You can now a quick note prefix with
quickNotePrefixinSETTINGS.
- For the
- Directives (e.g.
#query,#import,#use) changes:- Renamed
#templatedirective to#use-verbose - New
#usedirective will clean all the embedded queries and templates in its scope - All directives now use the page reference syntax
[[page name]]instead of"page name", this includes#useand#use-verboseas well as#import. - The
linkquery provider now also returns theposof a link (in addition to thepage) - New
$disableDirectivespage meta data attribute can be used to disable directives processing in a page (useful for templates)
- Renamed
- Added a new
/hrslash command to insert a horizontal rule (---) useful for mobile devices (where these are harder to type)
0.0.30
- Slash commands now only trigger after a non-word character to avoid "false positives" like "hello/world".
- Page auto complete now works with slashes in the name.
- Having a
SETTINGSpage is now mandatory. One is auto generated if none is present. - Added a
indexPagesetting to set the index page for the space (which by default isindex). When navigating to this page, the page name will "disappear" from the URL. That is, the index URL will simply behttp://localhost:3000/.- This feature is now used in
websiteand set toSilver Bulletthere. To also make the title look nicer when visiting https://silverbullet.md
- This feature is now used in
0.0.29
- Added the
Link: Unfurlcommand, which is scoped to only work (and be visible) when used on “naked URLs”, that is: URLs not embedded in a link or other place, such as this one: https://silverbullet.md- Plugs can implement their own unfurlers by responding to the
unfurl:optionsevent (see the Twitter plug for an example). - Core implements only one unfurl option: “Extract title” which pulls the
<title>tag from the linked URL and replaces it with a[bla](URL)style link.
- Plugs can implement their own unfurlers by responding to the
- Removed status bar: to further simplify the SB UI. You can still pull up the same stat on demand with the
Stats: Showcommand. - The page switcher is now maintaining its ordering based on, in order:
- Last opened pages (in current session)
- Last modified date (on disk)
- Everything else
- The currently open page (at the bottom)
- Filter boxes (used for the page switching and command palette among other things) now also support PgUp, PgDown, Home and End and have some visual glitches fixed as well.
- Reverted exposing an empty
windowobject to sandboxes running in workers and node.js (introduced in 0.0.28) - Renamed Markdown-preview related commands to something more consistent