Zef Hemel
d73d9b155f
Further work
2025-03-21 16:12:10 +01:00
Zef Hemel
dbfc5995f3
More thorough removal of federation
2025-03-21 16:12:10 +01:00
Zef Hemel
6e368619c5
Remove embeds
2025-03-21 16:12:10 +01:00
Zef Hemel
1284d15a8b
Remove command buttons
2025-03-21 16:12:10 +01:00
Zef Hemel
e7dc879722
More progress
2025-03-21 16:12:10 +01:00
Zef Hemel
fa8f07a123
Kinda working
2025-03-21 16:12:10 +01:00
Zef Hemel
d50ddc2357
First very rough pass of cleanup
2025-03-21 16:12:07 +01:00
Zef Hemel
a773d320f6
Lua: support distinct queries
2025-03-21 16:11:00 +01:00
Marek S. Łukasiewicz and GitHub
bb91612b61
Implement table formatting in Space Lua ( close #12 ) ( #1307 )
...
Aligns columns as described in issue #12 . Preserves alignment specifiers
and takes them into consideration for column width (see also #847 , #1293 )
2025-03-21 16:10:36 +01:00
Zef Hemel
f4de6a4b85
Migrating core use of queryObjects to queryLuaObjects
2025-03-18 18:22:17 +01:00
Stan Ionitoiu-Janssen and GitHub
67b612149b
feat(menu): Make menu responsive ( #1298 )
...
* feat(menu): Make menu responsive
* feat(menu): make vertical menu opt-out by specifying custom CSS classes
* feat(menu): Add option to style the menu as a bottom-bar on mobile
* fix(settings): rename values for mobileMenuStyle
2025-03-18 18:04:30 +01:00
Stan Ionitoiu-Janssen and GitHub
d38e757cd6
fix(tables): only escape pipes outside SB context ( #1292 )
...
* fix(tables): only escape pipes outside SB context
Fixes #943
* fix(tables): detect command context in tables
Fixes #1016
* Added tests for parsing tables
2025-03-15 20:58:43 +01:00
Zef Hemel
fdf6a97f97
Lua: expose all template.* syscalls
2025-03-15 20:52:34 +01:00
Zef Hemel
ad2a0dca38
Remove plugmanager test, not testable this way anymore
2025-03-14 17:20:11 +01:00
Zef Hemel
346f3125e9
Reduce plugmanager bundles size by 800kb by not including all of CodeMirror :D
2025-03-14 17:18:20 +01:00
Zef Hemel
6307ce4242
Lua widget revamp
2025-03-14 15:58:01 +01:00
Zef Hemel
934de0938d
Lua: add Ctrl/Cmd-click navigation
2025-03-14 11:35:43 +01:00
MrMugame and GitHub
d3cc3e0d48
Add image viewer ( #1289 )
...
* Fix legacy support for navigation
* Fixes timing issue with document editors
If silverbullet was directly loaded into a document editor it would set
the darkmode after loading the editor, causing a wrong value to be
passed
* Add basic `image-viewer`
This add adds a basic image viewer using the panzoom library from Timmy
Willison
* Svgs somehow don't accept 100% width
* Make `internal` a property of a message
* Add `editor.sendMessage` syscall
* Update forgotten internal syscall
* Add small info command to image-viewer
* Change indent to two spaces
* Move zoom in button to the right
* Switch rotation direction
* Display mime type instead of file extension
2025-03-14 09:42:23 +01:00
Zef Hemel
f2dd104063
Fix indexing edge case
2025-03-07 16:41:14 +01:00
Zef Hemel
d33db399c8
Auto complete and lint fixes
2025-03-07 15:13:47 +01:00
Zef Hemel
0a80c5c537
Collapse PageRef, DocumentRef and LocationRef into a single Ref type
2025-03-07 13:49:20 +01:00
Zef Hemel
b29d8245b2
Completion fixes
2025-03-07 13:13:45 +01:00
Zef Hemel
30617a9ee7
Disable emoji completion in code blocks
2025-03-07 13:13:14 +01:00
Zef Hemel
e96a220e1a
Meta page completion fix
2025-03-07 11:54:22 +01:00
Zef Hemel
d5842a039e
Indexing tweaks
2025-03-07 11:27:20 +01:00
Zef Hemel
037d319a2f
Lua date useful library
2025-03-07 11:11:28 +01:00
MrMugame and GitHub
e61a447d98
Implementing #913 ( #1230 )
...
Implemented custom editors
2025-03-06 15:11:17 +01:00
Zef Hemel
93c35edf20
Fix TOC regression
2025-02-25 18:22:31 +01:00
Siggsy and GitHub
4612f59b4f
Frontmatter wikilinks should be resolved from root ( #1248 )
2025-02-25 18:07:08 +01:00
Simon Cambier and GitHub
411416fe65
Feature/move lines up down ( #1232 )
...
* Move lines up/down
2025-02-23 20:49:52 +01:00
Zef Hemel
6f4b02298c
deno task fmt
2025-02-23 20:46:41 +01:00
Nico S. and GitHub
60dea56020
added ToC min+maxLevel ( #1258 )
...
Added option to ToC to define minimum and maximum displayed levels.
2025-02-23 20:45:58 +01:00
KitAmbraid and GitHub
7f9615ea9d
Add option to personalize toc header ( #1243 )
2025-02-22 12:06:42 +01:00
Zef Hemel
fb7be2a45a
Changelog updates and Lua fixes
2025-02-09 18:37:21 +01:00
Zef Hemel
107b232f49
Type fix
2025-02-09 18:02:16 +01:00
Zef Hemel
149a2ebea1
Cleanup
2025-02-09 18:01:19 +01:00
Zef Hemel
5eb2405823
Fixes #1234
2025-02-09 17:57:59 +01:00
Zef Hemel
d57792af6d
Lua code complete in Lua directives
2025-02-08 20:28:58 +01:00
Zef Hemel
d42d2277b2
Expose markdown.expandCodeWidgets and markdown.markdownToHtml as syscalls
2025-02-08 16:51:48 +01:00
Zef Hemel
9317d143b3
Fixes #1231
2025-02-08 16:51:31 +01:00
Zef Hemel
8eebb8dd67
Expose index.extractFrontmatter as syscall
2025-02-07 15:39:51 +01:00
Zef Hemel
44a1ce698e
Support plugs to register their own syscalls, using syscall (see the index plug for an example)
2025-02-07 15:16:57 +01:00
Zef Hemel
ee246bb997
Lua: fix autocomplete on nonexisting objects
2025-02-06 20:51:17 +01:00
Zef Hemel
eb788c68ca
Fixes to template Lua expansion
2025-02-06 12:21:21 +01:00
Zef Hemel
e1c997616c
Support ${lua expression} in templates
2025-02-06 11:58:27 +01:00
Zef Hemel
a169406d37
Lua: huge API breaking change: converted all snake_case APIs to camelCase
2025-02-06 10:04:45 +01:00
Zef Hemel
ac18443b53
Support setting multiple keys in config
2025-02-06 08:37:09 +01:00
Ohad Lutzky and GitHub
1e30517955
Open external links in a new tab ( #1229 )
...
Fixes https://github.com/silverbulletmd/silverbullet/issues/1228 . This matches the generated HTML to the current behavior of editor.openUrl.
2025-02-03 19:52:45 +01:00
Mufeed Ali and GitHub
c27c83bc44
poc: Add indentMultiplier configuration for customizable indentation in editor ( #1212 )
2025-02-01 14:35:22 +01:00
Zef Hemel
548bcfd239
Fix Lua stdlib issues in Sync mode
2025-01-30 14:43:30 +01:00