Files
plainleaf/plug-api
MrMugameandGitHub d3cc3e0d48 Add image viewer (#1289)
* Fix legacy support for navigation

* Fixes timing issue with document editors

If silverbullet was directly loaded into a document editor it would set
the darkmode after loading the editor, causing a wrong value to be
passed

* Add basic `image-viewer`

This add adds a basic image viewer using the panzoom library from Timmy
Willison

* Svgs somehow don't accept 100% width

* Make `internal` a property of a message

* Add `editor.sendMessage` syscall

* Update forgotten internal syscall

* Add small info command to image-viewer

* Change indent to two spaces

* Move zoom in button to the right

* Switch rotation direction

* Display mime type instead of file extension
2025-03-14 09:42:23 +01:00
..
2025-03-14 09:42:23 +01:00
2024-05-25 23:12:48 +02:00
2024-08-07 13:27:25 +02:00
2025-03-08 18:35:08 +01:00

This folder contains two things:

  • Wrappers for syscalls to be used by Plugs
  • Reusable library code that plugs may find useful