Zef Hemel
b6f1977cec
Lua runtime fixes
2025-01-09 10:27:41 +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
Ohad Lutzky
3e153a525c
Fix trailing periods for naked URLs ( #1175 )
...
Fixes https://github.com/silverbulletmd/silverbullet/issues/1160
2024-12-14 09:19:25 +01:00
Michael Stapelberg
8114b25470
markdown_parser: allow comma and semicolon in naked URLs ( #1162 )
2024-11-21 22:39:27 +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
Zef Hemel
1299d85e9a
First simple Lua directive Live Preview
2024-10-05 15:37:36 +02:00
MrMugame
f7cfe328b8
Fixes #1101 ( #1102 )
...
* Make all keywords use @specialize
* Rebuild the grammar
* Making it work in the later parsers
2024-09-29 13:26:44 +02:00
Zef Hemel
b1c46a17cf
Redoing item and task indexing
2024-08-21 21:31:07 +02:00
Zef Hemel
6b69449d05
More JSR ( #1027 )
...
* Move all syscalls to JSR-style package naming
* Eliminating some prefixes in import maps
2024-08-06 20:11:38 +02:00
Zef Hemel
47f504f2ce
deno fmt
2024-08-02 17:14:40 +02:00
Zef Hemel
64b6d9e2df
Space config ( #1011 )
...
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00
Zef Hemel
c111f72e09
Lint error removal
2024-07-30 17:33:33 +02:00
Zef Hemel
9f353f7de1
More JSR dependency moves
2024-07-30 17:24:17 +02:00
Zef Hemel
64e116f75e
lint cleanup
2024-07-30 15:17:34 +02:00
Zef Hemel
6286e4a8ed
Fixes #953 support decimals in query expressions
2024-07-17 20:34:52 +02:00
MrMugame
9ed493aa00
Makes the behaviour of logic expressions consistent in all cases ( #898 )
...
* Returned the value of a logic expression in all cases
* Remove legacy call syntax
* Correct test
* Remove old call syntax from docs/library
* Corrected docs for call syntax
* Add null coalescing operator
2024-07-02 19:12:40 +02:00
MrMugame
442133ea2b
Add subscript and superscript ( #879 )
...
* Added superscript and subscript to markdown
* Added docs for Superscript and subscript
* Remove leftover brace
2024-06-07 08:21:16 +02:00
onespaceman
1f949158e9
Index []() style links ( #827 )
2024-05-27 20:33:41 +02:00
Florent
827b08c21f
Support size for images ( #833 )
...
* Support size for images
* Also support dimensions while rendering markdown
* Parser - ImageWithSize: Comment regexp with examples
2024-05-19 11:05:48 +02:00
Maks
8a3782e946
improve dependency management ( #770 )
...
* use import_map.json instead of per-file import
* remove test_deps.ts in favor of import_map
* remove common/deps.ts in favor of import_map
* use import_map instead of server/deps.ts
* make all plug-api files usable without an import_map
* make all lib files usable without an import_map
* remove web/deps.ts in favor of import_map
* fix plug build
* remove plug-api/deps.ts in favor of lib/deps.ts
* fix server deps bundled in client deps
2024-03-16 15:29:24 +01:00
Zef Hemel
e919aa82e9
0.7.4
2024-02-29 15:23:05 +01:00
Matthew Pietz
e290245621
Relax hashtag pattern matching (Support Emoji) ( #752 )
...
Adjust the RegExp for matching tags in order to better support compatibility
with other PKM systems. Though not the exact matcher used in Obsidian (since
its source is closed), this matcher is modeled mostly after it and allows most
non-whitespace characters, including Emoji.
I use a task line like `- [ ] Gift Idea #🎁 #Person-Name` to denote gift ideas
for friends and family. This patch allows SilverBullet to recognize the emoji.
2024-02-26 18:03:55 +01:00
Zef Hemel
7de987fd56
Use backtick syntax to support identifiers in expression language, see examples
2024-02-24 12:59:27 +01:00
Marek S. Łukasiewicz
cf010b5ef2
Add unary minus to Expression Language ( #732 )
2024-02-21 07:28:59 +00:00
Zef Hemel
60d3199d64
Giant code reorganization ( #690 )
...
Code restructure
2024-02-08 21:00:45 +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
Zef Hemel
15358c8dd5
More #each in parsing fixes
2024-02-03 16:14:48 +01:00
Zef Hemel
d0ebda0d7a
Fixes #678
2024-02-03 15:28:24 +01:00
Zef Hemel
341c07049f
Custom template parser ( #672 )
...
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel
8404256ccb
Fixes #643
2024-01-25 11:42:36 +01:00
Zef Hemel
ad4a795e7f
Remove "syntax" support from plugs
2024-01-24 13:34:12 +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
90659c9c7e
Make frontmatter foldable
2023-12-21 19:04:54 +01:00
Zef Hemel
6b0bf3c960
Folding outliner commands #13
2023-12-17 14:26:41 +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
8f4d6e5d23
Fixes #542 : render each and render all
2023-10-30 14:15:12 +01:00
Zef Hemel
0313565610
Complete redo of content indexing and querying ( #517 )
...
Complete redo of data store
Introduces live queries and live templates
2023-10-03 14:16:33 +02:00
Zef Hemel
2ee20af5c8
Custom task statuses plus various fixes
2023-09-01 16:57:29 +02:00
Zef Hemel
5a88254cde
Refactoring about how proxy fetching happens
2023-08-23 19:08:21 +02:00
Zef Hemel
804d87436c
Fixes #355
2023-07-27 17:02:53 +02:00
Zef Hemel
7b8d8af2c1
Attributes now have YAML values
2023-07-26 17:12:56 +02:00
Zef Hemel
41fb82b9d2
Restrict attribute names
2023-07-25 10:52:14 +02:00
Zef Hemel
2b494f263e
Work on inline attributes
2023-07-24 19:54:31 +02:00
Zef Hemel
4a88b5636e
Fixes #426
2023-07-02 11:46:23 +02:00
Zef Hemel
7c825348b2
Big refactors and fixes
...
* Query regen
* Fix anchor completion
* Dependency fixes
* Changelog update
2023-07-02 11:25:32 +02:00
Zef Hemel
53bf098579
deno fmt
2023-01-22 18:53:14 +01:00
Zef Hemel
d371f2f68a
Added source of table parser
2023-01-14 16:08:16 +01:00
Zef Hemel
285b52ebef
Fixes #304
2023-01-13 16:59:28 +01:00
Zef Hemel
e4ebaa2cf4
Fixes #107
2023-01-01 11:28:25 -08:00