From 8c0fe8d0d0dd4bbd16c1095e25b2e3ffa1fdb0d3 Mon Sep 17 00:00:00 2001
From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>
Date: Thu, 11 Dec 2025 11:46:09 +0900
Subject: updates
---
fedora/.config/yazi/plugins/office.yazi/README.md | 76 +++++++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 fedora/.config/yazi/plugins/office.yazi/README.md
(limited to 'fedora/.config/yazi/plugins/office.yazi/README.md')
diff --git a/fedora/.config/yazi/plugins/office.yazi/README.md b/fedora/.config/yazi/plugins/office.yazi/README.md
new file mode 100644
index 0000000..c6fdf37
--- /dev/null
+++ b/fedora/.config/yazi/plugins/office.yazi/README.md
@@ -0,0 +1,76 @@
+
+
+# office.yazi
+### A plugin to preview office documents in
Yazi 
+
+

+
+##
+
+
+
+## Installation
+> [!TIP]
+> Installing this plugin with `ya` will conveniently clone the plugin from GitHub,
+> copy it to your plugins directory, and update the `package.toml` to lock its version [^1].
+>
+> To install it with `ya` run:
+> ```sh
+> ya pkg add macydnah/office
+> ```
+
+> Or if you prefer a manual approach:
+> ```sh
+> ## For linux and MacOS
+> git clone https://github.com/macydnah/office.yazi.git ~/.config/yazi/plugins/office.yazi
+>
+> ## For Windows
+> git clone https://github.com/macydnah/office.yazi.git %AppData%\yazi\config\plugins\office.yazi
+> ```
+
+## Usage
+In your `yazi.toml` add rules to preloaders[^2] and previewers[^3] to run `office` plugin with office documents.
+
+> [!NOTE]
+> Your config may be different depending if you're *appending*, *prepending* or *overriding* default rules.
+> If unsure, take a look at [Configuration](https://yazi-rs.github.io/docs/configuration/overview)[^4]
+> and [Configuration mixing](https://yazi-rs.github.io/docs/configuration/overview#mixing)[^5]
+
+For a general usecase, you may use the following rules
+```toml
+[plugin]
+
+prepend_preloaders = [
+ # Office Documents
+ { mime = "application/openxmlformats-officedocument.*", run = "office" },
+ { mime = "application/oasis.opendocument.*", run = "office" },
+ { mime = "application/ms-*", run = "office" },
+ { mime = "application/msword", run = "office" },
+ { name = "*.docx", run = "office" },
+]
+
+prepend_previewers = [
+ # Office Documents
+ { mime = "application/openxmlformats-officedocument.*", run = "office" },
+ { mime = "application/oasis.opendocument.*", run = "office" },
+ { mime = "application/ms-*", run = "office" },
+ { mime = "application/msword", run = "office" },
+ { name = "*.docx", run = "office" },
+]
+```
+
+## Dependencies
+> [!IMPORTANT]
+> Make sure that these commands are installed in your system and can be found in `PATH`:
+>
+> - `libreoffice`
+> - `pdftoppm`
+
+## License
+office.yazi is licensed under the terms of the [MIT License](LICENSE)
+
+[^1]: [The official package manager for Yazi](https://yazi-rs.github.io/docs/cli)
+[^2]: [Preloaders rules](https://yazi-rs.github.io/docs/configuration/yazi#plugin.preloaders)
+[^3]: [Previewers rules](https://yazi-rs.github.io/docs/configuration/yazi#plugin.previewers)
+[^4]: [Configuration](https://yazi-rs.github.io/docs/configuration/overview)
+[^5]: [Configuration mixing](https://yazi-rs.github.io/docs/configuration/overview#mixing)
--
cgit v1.2.3