Zef Hemel
93c35edf20
Fix TOC regression
2025-02-25 18:22:31 +01:00
Siggsy
4612f59b4f
Frontmatter wikilinks should be resolved from root ( #1248 )
2025-02-25 18:07:08 +01:00
Simon Cambier
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.
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
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
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
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
Zef Hemel
0cfe59e620
Update Query Templates.md
2025-01-26 10:03:54 +01:00
Zef Hemel
9f47c3df30
Optimize Lua complete
2025-01-26 09:00:10 +01:00
Zef Hemel
17ec0e41d1
Lua code complete
2025-01-26 08:07:58 +01:00
Zef Hemel
f940a04dc8
Lua: template.define_slash_command
2025-01-26 08:07:32 +01:00
Zef Hemel
a28c3fd5b8
Context sensitive slashCommands (with onlyContexts and exceptContexts)
2025-01-26 07:35:41 +01:00
Zef Hemel
236b2a7fdd
Lua: tweaks and fixes
2025-01-25 08:29:11 +01:00
Zef Hemel
6f3d021da7
Added basic Lua query templates
2025-01-24 18:48:01 +01:00
Zef Hemel
5139acda3a
Fix lua in RO mode
2025-01-24 17:43:28 +01:00
Zef Hemel
fce78a22f8
More Lua template work
2025-01-22 20:26:37 +01:00
Zef Hemel
517cfb209a
Lua: Reimplement `template` and `config` in Space Lua, distributed with Library/Std
2025-01-20 23:29:06 +01:00
Zef Hemel
41d5743673
Load .lua files with `dofile`
2025-01-19 16:23:08 +01:00
Zef Hemel
11a2adbea6
Lua script block prioritization
2025-01-17 19:10:46 +01:00
Zef Hemel
83550c1623
Exposing Objects indexing as syscalls
2025-01-17 10:41:02 +01:00
Zef Hemel
94acad1a9b
Index .lua files in your space as space lua scripts
2025-01-16 12:35:34 +01:00
Marek S. Łukasiewicz
1508f6bcbf
Correctly extract hashtag content in links and Page Picker filter ( fix #1196 ) ( #1199 )
2025-01-07 19:57:46 +01:00
TR Staake
2020e85a6f
Update how tags are rendered to allow for custom styling ( #1179 )
...
* Updated how tags are rendered to allow for custom styling via space-styles
* Wrapped the existing span for a tag with an anchor element <a> to
improve ux for screen readers
* Added data-tag-name attribute to tags so that given a tag `#my-tag` it
will have the attribute `data-tag-name="my-tag"` added to the new `<a>`
element wrapper allowing for end users to target tags for styling with a
css selector such as `.sb-hashtag[data-tag-name="my-tag"]{...}`
* Updated Docs
2024-12-14 09:57:46 +01:00
Zef Hemel
a56db78194
Reload configuration before updating plugs
2024-12-14 09:42:46 +01:00
Marek S. Łukasiewicz
6e4742de11
Plug Manager rework ( #1042 ) ( #1122 )
2024-12-14 09:39:37 +01:00
Vighnesh Shenoy
6ba28e0a95
Fix rendering on tag pages ( #1151 )
2024-11-13 21:14:51 +01:00
Peter Weston
b532b9e3f1
Fix tests for windows paths ( #1153 )
2024-11-13 21:08:24 +01:00
Marek S. Łukasiewicz
010e2b23f4
Allow tags to start with a number and be escaped with angle brackets ( #1116 )
...
Includes tests and Markdown/Hashtags page for website. Closes #1072
2024-10-20 12:39:58 +02:00
Marek S. Łukasiewicz
7b955ef26a
Index wikilinks in frontmatter strings ( #1000 ) ( #1066 )
2024-10-11 15:39:14 +02:00
Zef Hemel
64e398fd90
deno fmt
2024-10-11 15:34:27 +02:00
Zef Hemel
6a30284bab
Migration to Deno 2.0
2024-10-10 12:52:28 +02:00
Zef Hemel
f74bab0aca
Lua: inline directives improvements
2024-10-07 19:17:12 +02:00
Zef Hemel
6c71862641
Lua: multi-line string literals
2024-10-07 09:08:36 +02:00
Zef Hemel
1299d85e9a
First simple Lua directive Live Preview
2024-10-05 15:37:36 +02:00