Commit Graph

491 Commits (1e30517955b0f1ac2d6336e884ce6b8c6008e155)

Author SHA1 Message Date
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
Zef Hemel 3cf7b72ebb First integration of Lua into the core (via space-lua code blocks) 2024-10-03 17:55:51 +02:00
Zef Hemel c0a248daba deno fmt 2024-09-30 12:50:54 +02:00
Zef Hemel 2ef43bd56d Fixes #1100 2024-09-29 13:39:08 +02:00
Zef Hemel 3b1378717c Use a bullet instead of a dash for the task 2024-09-29 13:30:39 +02:00
Abin Simon fca5d2a903
Convert bullet to task when Task: Cycle State is called (#1099)
Fixes #1074
2024-09-29 13:30:11 +02:00
Zef Hemel d9aa6ef1c4 New window command 2024-09-10 14:38:41 +02:00
Zef Hemel 409b0df328 More robustness on lack of space config 2024-09-09 18:35:44 +02:00
Ruibin Xing bddb1b5da9
Export PDF through print. (#1065)
Add print button for markdown panel
2024-08-28 17:32:29 +02:00
Zef Hemel fed9965a99 Schema validation on index 2024-08-24 16:14:38 +02:00
Zef Hemel 80f9c14b96
Change how attribute indexing and completion works (#1061)
* Creation of separate aspring-page objects for pages linked to, but not created
* Show "No results" instead of broken markdown table for no query results
* Show schema validation errors
* Deno upgrade
* Adds config support to plugs (see examples)
* Moves all builtin schemas to plug config
* Adds core plug just for builtin schemas
* Changes how attributes are indexed and completed, now attempts to derive a JSON schema for ad hoc attributes
2024-08-24 12:35:09 +02:00
Zef Hemel 1958739fb4 Fix lint 2024-08-21 21:41:59 +02:00
Zef Hemel 1d87b2b05c Fix test 2024-08-21 21:39:19 +02:00
Zef Hemel d0ed24aae5 Docs 2024-08-21 21:31:07 +02:00
Zef Hemel b1c46a17cf Redoing item and task indexing 2024-08-21 21:31:07 +02:00
Zef Hemel b8081d970c Fixes #1049 centralizes page URL encoding and decoding 2024-08-20 09:38:56 +02:00
Zef Hemel 225443aef1 Fixes #984 adds Page: Rename Linked Page command 2024-08-18 15:24:18 +02:00
Zef Hemel 3ac21498f3 Fixes #680 all times and dates are now local (to the environment) 2024-08-18 13:04:51 +02:00
Zef Hemel 074aa323c2 Initial schema implementation #104 2024-08-15 16:39:06 +02:00
Zef Hemel 46f94a9881 Render queries on the server 2024-08-15 11:26:59 +02:00
onespaceman 7c23e8d622
Widget buttons for transclusions (#942) (#1013)
Widget buttons for transclusions
2024-08-08 20:19:41 +02:00