Commit Graph

113 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
Mufeed Ali c52e9e71f0
Few dark mode fixes and top bar improvements (#1137)
* fix: Fix progress bar coloring and remove % on indicator

Fixes #1129

* fix: Improve header, action buttons and progress bar spacing

* fix: Fix caret color on sb-mini-editor
2024-11-07 21:28:14 +01:00
Vighnesh Shenoy 68ead02975
fix: update unused scss variable for directive mark color (#1142)
Signed-off-by: Vighnesh shenoy <vighneshq@gmail.com>
2024-11-07 21:19:37 +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
Ruibin Xing bddb1b5da9
Export PDF through print. (#1065)
Add print button for markdown panel
2024-08-28 17:32:29 +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 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 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
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
MrMugame 8524c0f96f
Fix for flashing markdown preview (#880) 2024-06-07 08:19:26 +02:00
Zef Hemel 75d3277885 Fixes #864 2024-05-14 13:24:33 +02:00
s1gnate-sync 4390f6ebc2
Window controls overlay (#837)
* Update main.scss

Make page header a title bar

* Update manifest.json

Allow custom titlebar

* Resize page header so it won't overlap titlebar controls
2024-05-14 11:49:10 +02:00
MrMugame f683a4570a
Fixed panel border (#863) 2024-05-14 09:22:52 +02:00
Daniel Michel cb6ee137f2
Improve modals (#840)
* Adjust picker input to take up all remaining space

* Improve modals and buttons

* Remove confusing focus of scrollable result list in Firefox

* Adjust css for dark themes, add background for text field in prompt

Seperate accent color for text to increase contrast in dark theme
Set css color-scheme to dark for dark theme

* Fix buggy when entering very long text in picker

* Prevent key events from propagating outside of modals

* Always show focus on button

* Add the keydown event listener directly to the mini editor

* Do not refocus the mini editor when it loses focus and refactoring of the AlwaysShownModal.

* Fix reference to button and mini editor focus in chrome

* Fix selected option index capping in filter when using page down
2024-04-20 16:22:02 +02:00
Zef Hemel 82e431d358 Revert font part of #831 back to iA Mono 2024-04-09 09:28:12 +02:00
onespaceman b292b5f336
fix completion colors (#843) 2024-04-08 21:06:39 +02:00
onespaceman f193a73e39
New font and css fixes (#831) 2024-04-03 22:09:47 +02:00
onespaceman 6230c8ab83
Custom admonitions (#786) 2024-03-04 18:35:02 +01:00
Zef Hemel ec858b8b8f Fix notification positioning 2024-02-28 16:22:28 +01:00
onespaceman 35128cc591
Change top bar to flexbox (#762) 2024-02-27 22:43:39 +01:00
Zef Hemel a98299e8b3
Revert "Change top bar to flexbox (#753)" (#760)
This reverts commit e3a2dbdd11.
2024-02-27 19:32:40 +01:00
onespaceman e3a2dbdd11
Change top bar to flexbox (#753) 2024-02-26 18:10:31 +01:00
Joe Krill aaad3dbf0a
Add copy to clipboard button to code blocks (#735) 2024-02-23 10:12:48 +01:00
Ashish Dhama a9b31bde30
GH-683: Fix template dark mode (#698) 2024-02-13 18:32:55 +01:00
Zef Hemel 341c07049f
Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel 232a0d8df8 Fixes #98 2024-01-25 10:17:42 +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