Zef Hemel
86f31e3a00
Lua: experimental string interpolation
2025-01-09 11:45:15 +01:00
Zef Hemel
c2fea2d25b
Lua work
2025-01-08 17:09:09 +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
István Szekeres
fdd3d1b650
Fix encoding of inline content ( #1186 )
...
Inline content with the file containing e.g. a `:` cannot be displayed
as the file name is set as the img src, and the browser treats the part
before the : as the protocol, instead of as a file name.
This change encodes the file name so `:` becomes `%3A`, fixing the
issue.
Fixes #1182 .
2025-01-07 19:56:45 +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
8acb112e4e
Lua stack frame refactor
2024-10-20 15:06:23 +02:00
Marek S. Łukasiewicz
f37cf23ba7
Space config for smart quotes ( close #1114 ) ( #1121 )
2024-10-17 22:34:47 +02:00
Zef Hemel
5765540a3a
Widget: alt-click to move cursor into widget
2024-10-16 20:50:38 +02:00
Zef Hemel
2842183568
Lua widgets: support inline for HTML widgets
2024-10-15 16:58:39 +02:00
Zef Hemel
6ec6f0cd6d
First Lua docs
2024-10-14 20:59:10 +02:00
Zef Hemel
c1a20af981
Lua: widgets
2024-10-13 15:14:22 +02:00
Zef Hemel
6a30284bab
Migration to Deno 2.0
2024-10-10 12:52:28 +02:00
Zef Hemel
899c2556cb
Lua: more fixes and work on stdlib
2024-10-08 19:53:09 +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
41a856636a
Lint
2024-10-05 15:38:28 +02:00
Zef Hemel
1299d85e9a
First simple Lua directive Live Preview
2024-10-05 15:37:36 +02:00
Zef Hemel
0c4838e45c
Fix copy code edge case
2024-08-20 10:52:08 +02:00
Zef Hemel
b8081d970c
Fixes #1049 centralizes page URL encoding and decoding
2024-08-20 09:38:56 +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
cf054fa186
Should fix #1019 and #1035
2024-08-18 10:39:04 +02:00
Zef Hemel
94d745c7a7
Fixes #1030
2024-08-15 14:36:15 +02:00
Zef Hemel
b7c56a8379
Fix some things with transclusions, and added a renderWidgets page decoration
2024-08-12 20:12:28 +02:00
onespaceman
7c23e8d622
Widget buttons for transclusions ( #942 ) ( #1013 )
...
Widget buttons for transclusions
2024-08-08 20:19:41 +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
onespaceman
45166ccd93
Embed video, audio and pdf ( #1008 )
2024-08-02 16:30:39 +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
64e116f75e
lint cleanup
2024-07-30 15:17:34 +02:00
Zef Hemel
cff343a66b
Import clean
2024-07-25 15:19:06 +02:00
Zef Hemel
731e246264
Fixes #967
2024-07-23 14:53:36 +02:00
Zef Hemel
c81237d93c
Fix late settings loading
2024-07-20 06:25:04 +02:00
Marek S. Łukasiewicz
e2cb2ab6e7
Add setting for smart quotes ( #960 )
2024-07-19 19:08:49 +02:00
onespaceman
5fe77083ae
Fix #850 ( #964 )
2024-07-19 17:00:13 +02:00
Zef Hemel
11967b82a6
Meta links ( #954 )
...
Add carret page link support (for meta pages)
2024-07-17 17:03:25 +02:00
Zef Hemel
e4da0b7849
Refined implementation of #560
2024-07-14 11:29:43 +02:00
Zef Hemel
dcde6aaf7c
Better updating of decorations
2024-07-13 14:55:35 +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
25d14031c9
Fixes #926
...
Libraries have been rethought, see associated documentation.
2024-07-11 20:36:26 +02:00
Zef Hemel
c7f5645075
Fixes #927
2024-07-10 08:50:54 +02:00
Zef Hemel
fb21377bef
Transclosure support for pages ( #925 )
...
Transclusion implementation
2024-07-09 09:22:08 +02:00
Zef Hemel
7ddd7c4011
Style a line containng only "#" as if it were to become a tag instead of a header
2024-07-07 10:32:13 +02:00
Zef Hemel
104b6356df
Fixes #902
2024-07-06 15:45:04 +02:00
Zef Hemel
a6450d3179
Fixes #704 implementing read-only mode and mobile only button
2024-07-04 21:22:37 +02:00
MrMugame
5c28b1a73f
Change selection behaviour ( #904 )
...
* Change selection behaviour
* turn mouseup/mousedown events into click
* Remove `drawSelection()`
* Add custom cursor
2024-07-03 19:13:54 +02:00
Zef Hemel
1e58d220eb
Fixes #911
2024-07-02 20:13:41 +02:00
MrMugame
1ea652a730
Hides the '\' from escaped characters ( #901 )
2024-06-26 15:55:56 +02:00
MrMugame
2a2cdef0f4
Added automatic quote insertion ( #897 )
2024-06-23 05:33:16 +02:00