Zef Hemel
6f897f6f6e
Make slash command API compatible with regular completions
2024-02-24 09:26:00 +01:00
Zef Hemel
d5f1ba6583
Support carets in matchregex snippets
2024-02-24 09:08:10 +01:00
Patrik Stenmark
64c36f9d4c
Pre-fill new page name with heading ( #744 )
...
When extracting a page, this will check if the first line is a markdown
heading. If it is, it will be used as a default name in the prompt
asking for a page name.
This uses a regular expression to check for a heading. It seemed a bit
overkill to do a full markdown parsing for this specific check.
2024-02-23 18:27:03 +01:00
Zef Hemel
fe20411984
Fixes #713
2024-02-23 13:54:29 +01:00
Zef Hemel
cc4f9d017c
Fixes #701
2024-02-23 13:50:59 +01:00
Zef Hemel
cfd1e53f62
Fixes #734
2024-02-23 13:26:10 +01:00
Michael Kolb
4f0650d0b7
added custom data property for template instantiation ( #716 )
2024-02-23 10:21:51 +01:00
Zef Hemel
702474dca1
Add table to builtins
2024-02-23 10:21:13 +01:00
Michael Kolb
4056c4f2f2
Implemented queries for tables ( #729 )
2024-02-23 10:18:47 +01:00
Marek S. Łukasiewicz
afd2ce71a5
Recognize info string, settings and css after any legal fenced code start ( #675 , #693 ) ( #694 )
2024-02-23 09:03:14 +01:00
Joe Krill
da762356db
Inject custom styles and theme into markdown preview pane ( #741 )
2024-02-23 09:01:38 +01:00
Joe Krill
46cd0fbb4f
Add fetch to editor plug's requiredPermissions ( #738 )
2024-02-22 22:24:05 +00:00
Joe Krill
8c3625b0a4
Allow passing additional arguments to `renamePageCommand` and `renamePrefixCommand` ( #720 )
2024-02-17 20:22:51 +00:00
Zef Hemel
bb1e49a11e
More moving stuff around
2024-02-08 21:12:23 +01:00
Zef Hemel
60d3199d64
Giant code reorganization ( #690 )
...
Code restructure
2024-02-08 21:00:45 +01:00
Marek S. Łukasiewicz
257c7a3e4a
Improve mobile navigation through history ( #686 )
...
* History back and forward commands
* Conditionally display actionButtons on mobile devices
2024-02-07 09:33:47 +01:00
Zef Hemel
bfd8ef9cd2
Fix emoji aliasing breaking when no such config is defined
2024-02-06 17:20:31 +01:00
Zef Hemel
11859a1d53
Make System: Reload available in RO mode
2024-02-06 16:59:30 +01:00
Zef Hemel
0ddbd877f9
Space script MVP ( #685 )
...
* Space Script MVP
* New `command` and `syscall` query sources
2024-02-06 16:51:04 +01:00
Marek S. Łukasiewicz
dbce3a2ad1
Plug: Emoji aliases ( #246 ) ( #679 )
...
Plug: Emoji aliases (#246 )
2024-02-06 14:07:38 +01:00
Zef Hemel
f82d72e626
Fixes #677 code complete
2024-02-04 16:36:59 +01:00
Zef Hemel
d71c63a3a3
Render templates on the server
2024-02-04 15:32:14 +01:00
Zef Hemel
82cb0ed267
Fix not passing in global vars into renderTemplate
2024-02-03 15:37:22 +01:00
Zef Hemel
d0ebda0d7a
Fixes #678
2024-02-03 15:28:24 +01:00
Zef Hemel
9bb72d01b2
Fixes #676
2024-02-03 14:58:29 +01:00
Zef Hemel
341c07049f
Custom template parser ( #672 )
...
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel
da9ca842bf
Allow page templates to apply to any new page #671
2024-01-31 13:00:42 +01:00
Zef Hemel
e2aa869660
Fix markdown rendering for links with markup
2024-01-28 16:14:05 +01:00
Zef Hemel
98194b59b8
Fixes #655
2024-01-28 13:48:27 +01:00
Zef Hemel
b443192c1b
Fixes #656
2024-01-28 13:38:31 +01:00
Zef Hemel
5bc7193fb0
Fixes #161 by implementing read-only mode, first iteration
2024-01-26 17:05:10 +01:00
Zef Hemel
43adb13fb2
Fixes #330
2024-01-26 11:10:35 +01:00
Zef Hemel
40dc50f782
Fixes #495
2024-01-25 19:46:08 +01:00
Zef Hemel
5222e874f8
Header docs
2024-01-25 16:05:48 +01:00
Zef Hemel
604bea3ee0
Fixes #650 #629
2024-01-25 14:51:40 +01:00
Zef Hemel
928614c724
Fixes #649
2024-01-25 12:06:01 +01:00
Zef Hemel
8404256ccb
Fixes #643
2024-01-25 11:42:36 +01:00
Zef Hemel
232a0d8df8
Fixes #98
2024-01-25 10:17:42 +01:00
Zef Hemel
8a89d69c22
Fixes #640
2024-01-24 14:44:39 +01:00
Zef Hemel
ad4a795e7f
Remove "syntax" support from plugs
2024-01-24 13:34:12 +01:00
Zef Hemel
aaacec6d61
Navigator refactor ( #648 )
...
Navigation refactor
2024-01-24 11:58:33 +01:00
Zef Hemel
3eec0758e7
Fix h1-h4 regression
2024-01-22 16:25:55 +01:00
Zef Hemel
1be39558d5
Command naming
2024-01-22 09:58:41 +01:00
Zef Hemel
ddd730d9b3
Remove some page templates, remove template picker button, update changelog
2024-01-22 09:53:39 +01:00
Zef Hemel
4133cabd52
Fixing netlify
2024-01-20 22:53:51 +01:00
Zef Hemel
f30b1d3418
Templates 2.0 ( #636 )
...
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00
Zef Hemel
a2dbf7b3db
PlugOS refactor and other tweaks ( #631 )
...
* Prep for in-process plug loading (e.g. for CF workers, Deno Deploy)
* Prototype of fixed in-process loading plugs
* Fix: buttons not to scroll with content
* Better positioning of modal especially on mobile
* Move query caching outside query
* Fix annoying mouse behavior when filter box appears
* Page navigator search tweaks
2024-01-15 16:43:12 +01:00
Zef Hemel
a9eb252658
Plug sandbox rework
2024-01-14 13:38:39 +01:00
Zef Hemel
0296679827
Fixes #627
2024-01-13 18:42:40 +01:00
Zef Hemel
bf1eb03129
Backporting a bunch of optimizations from db-only branch
2024-01-13 17:30:15 +01:00
Zef Hemel
509ece91f0
Adding an "enabled" attribute to templates
2024-01-11 14:06:24 +01:00
Zef Hemel
848211120c
Tags redo ( #624 )
...
Introduction of `tag` and `itags`
2024-01-11 13:20:50 +01:00
Zef Hemel
e07001dae9
Fix command links in widgets and multi widget suport
2024-01-09 09:37:06 +01:00
Zef Hemel
848e11a773
Rebuilt frontmatter templates as template widgets
2024-01-08 17:08:35 +01:00
Zef Hemel
91027af5fe
Awesome frontmatter ( #617 )
...
Live Frontmatter Templates
2024-01-04 20:08:12 +01:00
Zef Hemel
8a2e081672
Fixes #529 by removing directives ( #613 )
...
* Fixes #529 by removing directives
* Load builtin tags on space reindex
2024-01-02 14:47:02 +01:00
Zef Hemel
c63a93e866
Priority support for commands and overrides
2024-01-02 13:47:43 +01:00
Zef Hemel
11693fbd00
Auto down-adjust sub-headers in TOC
2024-01-02 11:40:59 +01:00
Zef Hemel
8448a578fc
Optimizing caches
2024-01-02 11:32:57 +01:00
Zef Hemel
8ab5edeccc
Tweaks in rendering and buttons
2024-01-02 11:01:34 +01:00
Zef Hemel
c1a6253b34
Check fix
2023-12-29 20:06:11 +01:00
Zef Hemel
bc78fae5ec
Add buttons back to Live Templates
2023-12-29 18:59:42 +01:00
Zef Hemel
d43dbcacec
Fixed a lot of bugs with new widget rendering
2023-12-28 16:14:30 +01:00
Zef Hemel
4d66f23391
Top-bottom panel refactor, more instant rendering
2023-12-27 18:05:47 +01:00
Zef Hemel
9403fd2cd9
Cleanup
2023-12-27 13:46:45 +01:00
Zef Hemel
48e147d0b2
Move live query and template rendering outside of iframe
2023-12-27 13:38:38 +01:00
Zef Hemel
0a7fc05fef
Docs and template sets work
2023-12-22 16:40:38 +01:00
Zef Hemel
3350c7f076
More instant page navigator
2023-12-22 15:55:50 +01:00
Zef Hemel
c709f4e4be
More ways to define tags in frontmatter
2023-12-22 13:59:16 +01:00
Zef Hemel
a49a65c149
Fix page tag indexing
2023-12-22 12:10:09 +01:00
Zef Hemel
581edf92d5
Federation fix
2023-12-22 11:45:32 +01:00
Zef Hemel
82391682f6
Avoid builtin page attributes to be overridden
2023-12-22 11:27:07 +01:00
Zef Hemel
5abdf1c80c
Fix federation links
2023-12-21 19:19:09 +01:00
Zef Hemel
70ef6ed9da
Work on #587 : revamped templates
2023-12-21 18:38:02 +01:00
Zef Hemel
c38e6cfc25
Remove Page: New command
2023-12-21 18:21:58 +01:00
Zef Hemel
cd19d455a4
More #363 work, relative paths for attachments when uploading
2023-12-19 18:59:12 +01:00
Zef Hemel
30436d97ea
More fixes related to #363
2023-12-19 17:55:11 +01:00
Zef Hemel
a5c7405a35
Fixes #363
2023-12-19 17:20:47 +01:00
Zef Hemel
92ecbff4cd
Fix some styling issues
2023-12-19 16:18:18 +01:00
Zef Hemel
8b860194d7
Outline: enable moving items across boundaries
2023-12-18 16:44:04 +01:00
Zef Hemel
8bafae7d11
Remap outline commands (again)
2023-12-18 12:40:31 +01:00
Zef Hemel
6b0bf3c960
Folding outliner commands #13
2023-12-17 14:26:41 +01:00
Zef Hemel
3ec2a74a53
Fixes #13 by adding new outliner commands
2023-12-16 14:33:08 +01:00
Zef Hemel
9f082c83a9
Major backend refactor ( #599 )
...
Backend refactor
2023-12-13 17:52:56 +01:00
Zef Hemel
8527528af4
Lazy plugs ( #596 )
...
* Manifest caching and lazy loading of plug workers
* Fixes #546 Plug unloading after time out
2023-12-06 18:44:48 +01:00
Zef Hemel
1d5c6f9277
Replace YAML parser
2023-11-29 16:51:28 +01:00
Zef Hemel
48986fc6cb
Default limit query results to 1000
2023-11-28 11:18:55 +01:00
Zef Hemel
5a022ae6a0
Fixes cyclic error
2023-11-28 10:06:53 +01:00
Zef Hemel
fc6165000c
/front-matter -> /frontmatter
2023-11-27 16:43:12 +01:00
Zef Hemel
259ad5b488
Fixes #576 supporting markdown in headers and refactoring some stuff
2023-11-27 16:29:19 +01:00
Zef Hemel
d834646686
Don't index templates as pages
2023-11-27 10:04:03 +01:00
prcrst
e6f77b12af
Initial implementation of command link arguments ( #573 )
...
Initial implementation of command link arguments
---------
Co-authored-by: prcrst <p-github@prcr.st>
Co-authored-by: Zef Hemel <zef@zef.me>
2023-11-25 18:57:00 +01:00
Zef Hemel
8d326a668b
Slight tweaks
2023-11-25 14:30:31 +01:00
Zef Hemel
1ac494765f
Fixes #263 : Implement TOC
2023-11-25 13:40:56 +01:00
Zef Hemel
cd27739336
Upload robustness
2023-11-25 13:40:27 +01:00
prcrst
ae9c8dcb4c
Upload file command with copy/paste logic ( #571 )
...
Upload: File command
Co-authored-by: prcrst <p-github@prcr.st>
Co-authored-by: Zef Hemel <zef@zef.me>
2023-11-23 12:09:48 +01:00
Zef Hemel
9b89330ec9
More linting
2023-11-21 16:56:21 +01:00
Zef Hemel
2aed9e5685
Fixes #539 linter support, now checking YAML formats
2023-11-21 16:24:20 +01:00
Zef Hemel
db607f1661
Fixes #394 and upgrade to emoji 15.1, optimizes size
2023-11-21 12:19:47 +01:00
Zef Hemel
063c49effb
Preparing for 0.5.6
2023-11-19 12:18:16 +01:00
Zef Hemel
614d3f081a
Remove duplicate keyboard shortcut Alt-shift-n
2023-11-16 14:10:09 +01:00
Zef Hemel
6336190c20
Federation URL handling
2023-11-16 13:55:02 +01:00
Zef Hemel
1af5e022a0
Milde optimizations
2023-11-16 09:59:37 +01:00
Zef Hemel
5b81185afa
Fixes
2023-11-15 16:27:17 +01:00
Zef Hemel
6347c2b4d8
Rewrite page references in federated pages
2023-11-15 16:14:15 +01:00
Zef Hemel
663a15fe33
Template sets
2023-11-15 14:56:34 +01:00
Zef Hemel
b26b7f4f0a
Better formatting for tt tags
2023-11-15 14:51:23 +01:00
Zef Hemel
b359d9e065
Don't index templates during full space reindex
2023-11-15 13:41:36 +01:00
Zef Hemel
35e2afc18b
Fixes #566
2023-11-15 10:27:37 +01:00
Zef Hemel
8a7c50599d
Fixes #522
2023-11-15 10:08:21 +01:00
Zef Hemel
b4ab56c712
Requeue messages on the server as well
2023-11-15 09:31:44 +01:00
Zef Hemel
b86d45880a
Process handlebars in frontmatter for slash templates too
2023-11-14 09:51:36 +01:00
Zef Hemel
7fec3fe587
Fixes #559
2023-11-13 15:49:21 +01:00
Zef Hemel
1d7dc04f54
Fixes #563
2023-11-13 10:32:40 +01:00
Zef Hemel
95301a41ff
Fixes #558
2023-11-12 12:08:09 +01:00
Zef Hemel
f3d72ca6f4
iframe widget pooling (experimental)
2023-11-12 11:50:49 +01:00
Zef Hemel
51e3dd72e8
0.5.4
2023-11-11 14:28:46 +01:00
Zef Hemel
d58db6aa1a
No longer index templates tagged as #template
2023-11-09 09:26:44 +01:00
Zef Hemel
ed0c0d9616
Give docked Safari PWA the proper title bar color
2023-11-07 15:21:53 +01:00
Zef Hemel
1afac0274e
Custom template slash commands
2023-11-06 09:14:16 +01:00
johnl
0e2a802bbd
Add a {time} template helper, reuse timestamp code from Quick Note as a niceTime ( #555 )
...
niceTime helper
2023-11-03 12:04:51 +01:00
Zef Hemel
e0b6fbed3e
Change anchor reference syntax
2023-11-03 12:01:33 +01:00
Zef Hemel
509683c537
Added 'created' attribute to files and pages
2023-11-03 09:38:04 +01:00
Zef Hemel
3f1aa45b5d
Global anchor completion
2023-11-02 16:19:33 +01:00
Zef Hemel
74387cb5b1
Support Live Queries and Live Tempaltes in markdown preview
2023-11-02 16:09:25 +01:00
Zef Hemel
626f1c5cad
Template tweak
2023-11-02 12:51:09 +01:00
Zef Hemel
2844c8bc25
Markdown plug APIS
2023-11-02 12:35:30 +01:00
Zef Hemel
d8318c4ad7
Code widget refactor
2023-10-31 10:33:38 +01:00
Zef Hemel
4ef857acf4
Support render all in directives too
2023-10-30 14:17:48 +01:00
Zef Hemel
8f4d6e5d23
Fixes #542 : render each and render all
2023-10-30 14:15:12 +01:00
Zef Hemel
af3e4737ba
More tweak to widget rendering
2023-10-29 12:26:57 +01:00
Zef Hemel
7e9a3f7b6a
Improvements to #530 styling
2023-10-29 12:10:30 +01:00
Zef Hemel
63b614670c
Remove fancy markdown table formatting
2023-10-29 12:09:12 +01:00
Zef Hemel
0b9977a4c4
Added "source" button for template debugging
2023-10-29 10:14:18 +01:00
Zef Hemel
b5f4fb603c
Merge branch 'main' of github.com:silverbulletmd/silverbullet
2023-10-29 10:02:53 +01:00
Zef Hemel
50caba8522
Factor out markdown widget rendering
2023-10-29 10:02:50 +01:00
Max Richter
0034b4e8a7
feat: style queries a bit nicer :) ( #532 )
2023-10-16 11:23:46 +02:00
Zef Hemel
99fe8e8c68
Ignore tags in first paragraph of page for paragraph indexing
2023-10-13 17:32:31 +02:00
Zef Hemel
cc5c2ee316
staskstate meta data
2023-10-13 17:10:57 +02:00
Zef Hemel
72453bac88
Fixes #521
2023-10-13 17:03:20 +02:00
Zef Hemel
13903a3e30
Indexing fixes
2023-10-13 16:33:37 +02:00
Zef Hemel
f7b664aad3
Fixes to paragraph indexing
2023-10-13 15:37:25 +02:00
Ian Shehadeh
50105fd044
Index plug: index paragraph nodes ( #528 )
...
* index plug: index paragraph nodes
Includes attributes and tags in the paragraphs.
Only considers top level paragraphs (right below Document node)
* keep ref and pos consistent with other objects
- most objects just store the starting position in the `pos` field.
- ref is usually `${page}@${pos}` so that it works as a link.
* cleanup and clarify comments
* add paragraph to builtins index
2023-10-12 20:30:47 +02:00
Zef Hemel
ae17385dd9
Add ability to convert #use and #import via a command
2023-10-11 10:27:12 +02:00
Zef Hemel
dc255c3dda
Fix iframes in Safari PWA
2023-10-09 21:02:57 +02:00
Zef Hemel
17ba536801
Linked mentions improvements and other fixes
2023-10-09 20:39:03 +02:00
Zef Hemel
ae3e5f375e
Fixed using handlebar variables live queries and templates
2023-10-06 14:40:09 +02:00
Zef Hemel
d8797aa805
Code complete fixes and changelog
2023-10-04 17:14:24 +02:00
Zef Hemel
852b07c7a7
Widget sizing fixes
2023-10-04 13:47:02 +02:00
Zef Hemel
91387d1e96
Fix template embedding via federation
2023-10-03 18:09:03 +02:00