Commit Graph
87 Commits
Author SHA1 Message Date
Zef HemelandGitHub c02594f20c Merge pull request #1865 from Dobli/collapsible-toc
Make ToC widget collapsible
2026-03-10 08:42:01 +01:00
Dobli 30a1356db8 Set default state of toc to open 2026-03-05 23:31:59 +01:00
Dobli 7a3ff21419 Align new toc widget style with existing widgets 2026-03-05 22:22:24 +01:00
Zef Hemel e1daa7204d CHANGELOG and Space Overview updates reflecting new space-lua ordering 2026-03-05 08:20:43 +01:00
Zef Hemel 59c271131b Big website content iteration 2026-03-04 13:31:27 +01:00
Dobli 50ed0500e9 Use space-style for toc widget styling 2026-03-03 23:11:27 +01:00
Dobli 3a6a88755f Make toc widget collapsible 2026-03-02 18:34:52 +01:00
Laurence TanandGitHub c8e541250b Fix typo in Library Manager documentation 2026-02-27 19:12:03 +11:00
Zef Hemel f29f043ff3 Fixes #1846: bring back virtual pages
Was misusing Lua pattern matching before
2026-02-26 09:48:15 +01:00
13c61ebab7 [LIQ] Extend with group by and having with aggregators (#1843)
* [LIQ] Extend with `group by` and `having` support

Also update documentation with extensive examples and add some parser
tests.

Note: `make generate` JS files included.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Merge `liq-add-support-for-aggregators` branch

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Fix link, remove `_` example

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Wrap example LIQ queries inside `query [[ .. ]]` and replace `sql` code block type to `lua`

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Example self-consistency fix

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Fixed some queries

* Add experimental tags to LIQ aggregation/grouping

---------

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
Co-authored-by: Zef Hemel <zef@zef.me>
2026-02-25 10:35:31 +01:00
rktjmpandGitHub 9dc6ed2193 Honor openIfExists: true when using Page: From Template command (#1831)
* Improve Page Template option behaviour documentation

* Check pageName == nil or "" when getting page template name from prompt

* Honor `openIfExists: true` when using `Page: From Template` command
2026-02-12 11:18:03 +01:00
rktjmpandGitHub d285288add Support embedding youtube shorts (#1824) 2026-02-06 16:03:06 +01:00
Zef Hemel f6d2e37d25 Reduce logging noise 2026-02-05 11:09:05 +01:00
Zef Hemel 8712d33b4a Optimize linked tasks query slightly 2026-02-05 09:06:35 +01:00
Zef Hemel 01a14d4e58 Add range attribute to built-in tag schemas 2026-02-05 09:05:57 +01:00
Zef Hemel 0773df31e2 Add validation and error handling for object indexing
- Introduced a new `validate` callback for `tag.define`
- Added `index.validateObjects` API to validate and transform objects before indexing.
- Updated relevant documentation and examples to reflect these changes.
2026-02-03 15:59:04 +01:00
Zef Hemel c2f87f259f Fix page template schema 2026-02-03 11:34:00 +01:00
Zef Hemel ed7ccaa216 Schemas for page templates and slash templates 2026-02-03 10:52:18 +01:00
Zef Hemel 85ac15546f Update LIQ query slash commands to use from o = syntax (performance,
better practice)
2026-01-30 08:36:03 +01:00
Zef Hemel 13b17110eb Order Linked Mentions by page last modified (desc)
* Adds `pageLastModified` to `link` objects, and use it for Linked
  Mentions
2026-01-30 08:33:32 +01:00
Zef Hemel d63a679657 Navigate to library page after install 2026-01-29 12:18:40 +01:00
Zef Hemel d14695abf4 Iterations on tag.define
* Now also supports setting a custom metatable (replacement of
  index.defineTag)
* Load tag.define API on boot so can be used for initial client index
  from CONFIG
* Docs and examples
2026-01-29 11:07:28 +01:00
Zef Hemel 4d54d05f88 Schema-based attribute completion for frontmatter and LIQ queries
Experimental and rudamentary, will not cover all cases.
2026-01-27 16:38:48 +01:00
Zef Hemel bd03a406f0 Renamed postIndex to transform for tag.define API (experimental). 2026-01-27 09:33:00 +01:00
Zef Hemel 812dee8537 Lua/LIQ: added from p in <<expr>> as a syntax variant (and preferred
option) for `from p = <<expr>>`. Updated docs accordingly.
2026-01-27 09:15:07 +01:00
Zef Hemel 9b05beba16 First pass of custom tag behavior (schema and postProcess) support
See API/tag.md for explanations and examples.
2026-01-22 15:32:01 +01:00
Zef Hemel fb10fd65b8 shortWikiLinks config option 2026-01-22 08:42:30 +01:00
Zef Hemel a89ab96438 Expose _G global variable in Space Lua 2026-01-21 14:32:41 +01:00
Zef Hemel bf158936ad Render full page links in Linked Mentions 2026-01-21 13:29:58 +01:00
Zef Hemel 8acad63565 Reorganized keyboard shortcuts a little bit and documented them. 2026-01-21 11:01:11 +01:00
Zef Hemel db20a9be77 Link snippet rebuild Now more "block" based: includes current line and
subsequent ones if they're at a deeper indentation level
2026-01-13 15:47:47 +01:00
Zef Hemel b504a88611 Subpages widget 2026-01-12 17:19:23 +01:00
Zef Hemel 5e5ef0fb85 Fixes #1754
Adds `links` and `ilinks` attributes to `task` and `item` objects.
2026-01-08 15:03:48 +01:00
Zef Hemel c93d656ac6 Significant refactor of index
* Moved YAML library import to index plug (so no async syscalls anymore)
  should speed things up
* Merged task and item indexing
* Merged tasks plug into index (questionable)
* taskstate is now no longer a tag, but needs to be configured via
  configs
2026-01-07 11:00:32 +01:00
Zef Hemel 38f411baa3 Disables indexing all paragraphs by default
To enable: `config.set("index.paragraph.all", true)`
2026-01-05 15:36:40 +01:00
Michael WeichertandGitHub ba7d8ce5a6 feat: Improve Lua go-to-definition with Ctrl-click support and user feedback (#1713)
- Accept Ctrl-click (Linux) in addition to Cmd-click (Mac) for navigation
- Show flash notification when definition cannot be found (built-in or non-Lua)
2025-12-01 14:13:11 +01:00
Zef Hemel 0f57a03542 Remove full-text search from SB core
Now available as separate library:
https://github.com/silverbulletmd/basic-search/blob/main/PLUG.md
2025-11-24 16:33:17 +01:00
Zef Hemel d5fbbbdaac Website content refactor (mostly pluralized page names to singular ones) 2025-11-24 10:47:10 +01:00
Zef Hemel e837059501 Update TreeView URL to official repo 2025-11-19 17:00:52 +01:00
Zef Hemel 34210b9a52 Rename LaTeX library to Math 2025-11-19 15:01:59 +01:00
Zef Hemel 8117342c2c Better URI to name translations for repo URIs 2025-11-19 14:57:45 +01:00
Zef Hemel ce25cc9d9e Adding more libraries to the Std repo 2025-11-18 17:08:49 +01:00
Zef Hemel 5d0bcbd913 Update Excalidraw to official repo 2025-11-18 16:44:01 +01:00
Zef Hemel aae9805e32 Add a few more libraries to Std 2025-11-17 14:45:45 +01:00
Zef Hemel e74ac4b4d3 Default to full Github URLs in Github share support 2025-11-17 14:45:33 +01:00
Zef Hemel 0d4351cf7a Fix removing libraries support for files 2025-11-17 14:45:13 +01:00
Zef Hemel a3b69bd47d Added Tag Picker
Bonus:
* Tag pages now include parent and child tags
* Optimized tag completion
2025-11-14 11:50:59 +01:00
Zef Hemel 391e70139e Library and Repostitory refinements 2025-11-12 16:54:55 +01:00
Rodolfo SouzaandGitHub b146d53aa5 Fix embed youtube 153 error by adding referrer-policy header (#1672) 2025-11-08 12:17:21 +01:00
Zef Hemel cccf40fdb1 Fix Library: Add Repo 2025-11-07 22:16:56 +01:00