Commit Graph

51 Commits (main)

Author SHA1 Message Date
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 1299d85e9a First simple Lua directive Live Preview 2024-10-05 15:37:36 +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
onespaceman 70cb0fc226
Per-tag page styling (#945)
PageDecorator add cssClasses

---------

Co-authored-by: Zef Hemel <zef@zef.me>
2024-07-31 11:28:31 +02:00
Zef Hemel c111f72e09 Lint error removal 2024-07-30 17:33:33 +02:00
Zef Hemel b560c0dcc8 Fixes #970 2024-07-24 07:03:43 +02:00
Eric Yang fefda09c2b
Fix blank space above tables issue (#952) 2024-07-17 12:49:48 +02:00
Zef Hemel e4da0b7849 Refined implementation of #560 2024-07-14 11:29:43 +02:00
Deepak Narayan 850c06fd70
Fixes #560 and provides an initial implementation for assigning (#940)
decorators to tags.

This patch enables decorations for user specified tags - starting
with handling only a single decoration - a 'prefix' to be added
to the page name. Prefix is handled in the top bar title,
page navigator, wiki-links appearing within a page as well as
page autocomplete suggestions.
2024-07-13 13:56:00 +02:00
Zef Hemel 470c1153ed Support auto link in markdown render 2024-06-13 11:47:03 +02:00
Zef Hemel 60461cf2db Support level 6 headings in preview 2024-06-07 08:27:11 +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
Justyn Shull 2eb9ecd34f
Only prepend attachmentUrlPrefix if url doesnt already start with it (#800) 2024-03-13 08:26:40 +01:00
Zef Hemel 5cf38617af Fixes #793 2024-03-10 12:28:13 +01:00
Zef Hemel c584bbeb0a Fixes #745 2024-03-02 13:09:05 +01:00
Zef Hemel e919aa82e9 0.7.4 2024-02-29 15:23:05 +01:00
Zef Hemel 60d3199d64
Giant code reorganization (#690)
Code restructure
2024-02-08 21:00:45 +01:00
Zef Hemel e2aa869660 Fix markdown rendering for links with markup 2024-01-28 16:14:05 +01:00
Zef Hemel 8a89d69c22 Fixes #640 2024-01-24 14:44:39 +01:00
Zef Hemel aaacec6d61
Navigator refactor (#648)
Navigation refactor
2024-01-24 11:58:33 +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 0296679827 Fixes #627 2024-01-13 18:42:40 +01:00
Zef Hemel 509ece91f0 Adding an "enabled" attribute to templates 2024-01-11 14:06:24 +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 a5c7405a35 Fixes #363 2023-12-19 17:20:47 +01:00
Zef Hemel 5a022ae6a0 Fixes cyclic error 2023-11-28 10:06:53 +01:00
Zef Hemel 95301a41ff Fixes #558 2023-11-12 12:08:09 +01:00
Zef Hemel e0b6fbed3e Change anchor reference syntax 2023-11-03 12:01:33 +01:00
Zef Hemel 2844c8bc25 Markdown plug APIS 2023-11-02 12:35:30 +01:00
Zef Hemel 7e9a3f7b6a Improvements to #530 styling 2023-10-29 12:10:30 +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 b043ffaee0 Improve wiki link markdown preview 2023-08-17 20:37:55 +02:00
Zef Hemel 2b494f263e Work on inline attributes 2023-07-24 19:54:31 +02:00
Zef Hemel 04d6de18e6 Restrict valid page names 2023-07-07 11:44:05 +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 1a1b942f92 No longer serialize binary blobs as data URLs 2023-05-26 14:04:32 +02:00
Zef Hemel 5f484bed57
SilverBullet pivot to become an offline-first PWA (#403) 2023-05-23 20:53:53 +02:00
Zef Hemel c1528eff08 Fixes #360 2023-02-23 15:33:51 +01:00
Zef Hemel 3545d00d46
Major mini editor refactoring (#225)
Replaces most editing components with CM components, enabling vim mode and completions everywhere

Fixes #205 
Fixes #221 
Fixes #222 
Fixes #223
2022-12-21 14:55:24 +01:00
Zef Hemel aaebea5e54
Major directive refactor (#195)
Fixes #188 #144 #76: major refactor of directive parsing, rendering, styling
2022-12-14 20:04:20 +01:00
Zef Hemel 8c62ca981e Fix empty cell MD table render bug 2022-11-30 15:59:41 +01:00
Zef Hemel b43c028e51 Fix alias page link markdown rendering 2022-11-27 11:20:43 +01:00
Zef Hemel 24c17a793f
Live Preview (#119)
Live preview mode is here
2022-11-18 16:04:37 +01:00
Zef Hemel c4f80589f3 Migrated silverbullet-publish into this repo 2022-11-01 17:03:42 +01:00