Commit Graph

58 Commits (main)

Author SHA1 Message Date
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 64e398fd90 deno fmt 2024-10-11 15:34:27 +02:00
Zef Hemel f74bab0aca Lua: inline directives improvements 2024-10-07 19:17:12 +02:00
Zef Hemel 1299d85e9a First simple Lua directive Live Preview 2024-10-05 15:37:36 +02:00
onespaceman 7c23e8d622
Widget buttons for transclusions (#942) (#1013)
Widget buttons for transclusions
2024-08-08 20:19:41 +02:00
onespaceman 45166ccd93
Embed video, audio and pdf (#1008) 2024-08-02 16:30:39 +02:00
Ross 7fa1aabf3e
Unified the size of headers and sb-line-headers (#972)
* Unified the size of headers and sb-line-headers
2024-07-23 21:10:36 +02:00
onespaceman 5fe77083ae
Fix #850 (#964) 2024-07-19 17:00:13 +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
MrMugame c412bed98e
Add `drawSelection()` (#917) 2024-07-04 07:05:58 +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 75d3277885 Fixes #864 2024-05-14 13:24:33 +02:00
onespaceman 6230c8ab83
Custom admonitions (#786) 2024-03-04 18:35:02 +01:00
Joe Krill aaad3dbf0a
Add copy to clipboard button to code blocks (#735) 2024-02-23 10:12:48 +01:00
Zef Hemel 341c07049f
Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel ad4a795e7f Remove "syntax" support from plugs 2024-01-24 13:34:12 +01:00
Zef Hemel 4133cabd52 Fixing netlify 2024-01-20 22:53:51 +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 848211120c
Tags redo (#624)
Introduction of `tag` and `itags`
2024-01-11 13:20:50 +01:00
Zef Hemel 9a07c4c90a Fix hashtag highlighting in templates 2024-01-09 13:34:21 +01:00
Zef Hemel 3ae7ed7e3d Maximum heights for top widgets 2024-01-09 09:57:07 +01:00
Zef Hemel 848e11a773 Rebuilt frontmatter templates as template widgets 2024-01-08 17:08:35 +01:00
Zef Hemel 8230330ed0 Undo frontmatter templates 2024-01-08 09:21:19 +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 29146b1a71 Styling tweaks 2024-01-02 13:47:50 +01:00
Zef Hemel 8ab5edeccc Tweaks in rendering and buttons 2024-01-02 11:01:34 +01:00
Zef Hemel 16b8d4ef12 Slight performance tweaks 2023-12-29 20:03:54 +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 48e147d0b2 Move live query and template rendering outside of iframe 2023-12-27 13:38:38 +01:00
Zef Hemel 92ecbff4cd Fix some styling issues 2023-12-19 16:18:18 +01:00
Zef Hemel 1af5e022a0 Milde optimizations 2023-11-16 09:59:37 +01:00
Zef Hemel 7e9a3f7b6a Improvements to #530 styling 2023-10-29 12:10:30 +01:00
Zef Hemel 50caba8522 Factor out markdown widget rendering 2023-10-29 10:02:50 +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 3f42377f58 Single-line height directives again 2023-09-09 21:06:15 +02:00
Zef Hemel 2ee20af5c8 Custom task statuses plus various fixes 2023-09-01 16:57:29 +02:00
Zef Hemel 79a1120198 Fixes #373: applies horizontal scrolling to tables when necessary 2023-07-13 11:50:31 +02:00
Zef Hemel f7edfec6e0 Manual merge of #452 2023-07-10 13:16:22 +02:00
TheLD6978 3be4c9fc34
Refactor SCSS to use CSS variables (#455)
* refactor: start using css variables for theming

* refactor: finish defining all currently used css vars

* refactor: create dark mode with css vars

* refactor: move color vars to own file

* fix: switch order of style tags to priorize custom styles over main.css

---------

Co-authored-by: TheLD <lars@adornis.de>
2023-07-10 08:44:37 +02:00
Zef Hemel 809fc7e2e1 Fixes #429 2023-07-02 11:50:53 +02:00
Zef Hemel 1b922791f3 Implements #51: Folding commands 2023-06-14 19:27:18 +02:00
Zef Hemel bc5cdff323 Limit code widget width to 100% 2023-05-26 14:48:41 +02:00
Zef Hemel 288e67e380 Added support for overriding CSS styles with STYLES page 2023-02-28 10:07:20 +01:00
Zef Hemel cca48f66cd Fixes #158 2022-12-22 16:20:05 +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 bb04f30470 Reduce vertical jump for other blocks 2022-12-19 12:35:58 +01:00
Zef Hemel be83f305dd Fixes #202 2022-12-16 11:39:46 +01:00