mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-24 05:25:38 +00:00
docs(image): screenshot and docs
This commit is contained in:
parent
56b432ffea
commit
9ba7abb855
2 changed files with 53 additions and 0 deletions
|
@ -1,5 +1,29 @@
|
|||
# 🍿 image
|
||||
|
||||

|
||||
|
||||
Image viewer using the [Kitty Graphics Protocol](https://sw.kovidgoyal.net/kitty/graphics-protocol/).
|
||||
|
||||
Supported terminals:
|
||||
|
||||
- [kitty](https://sw.kovidgoyal.net/kitty/)
|
||||
- [wezterm](https://wezfurlong.org/wezterm/)
|
||||
- [ghostty](https://ghostty.org/)
|
||||
|
||||
In order to automatically display the image when openinng an image file,
|
||||
you need to enable the `image` plugin in your `snacks` config.
|
||||
|
||||
Supported image formats:
|
||||
|
||||
- PNG
|
||||
- JPEG/JPG
|
||||
- GIF
|
||||
- BMP
|
||||
- WEBP
|
||||
|
||||
[ImageMagick](https://imagemagick.org/index.php) is required to convert images
|
||||
to the supported formats (all except PNG).
|
||||
|
||||
<!-- docgen -->
|
||||
|
||||
## 📦 Setup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue