Skip to content

Commit

Permalink
docs: add nbpreview.yazi (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: sxyazi <[email protected]>
  • Loading branch information
AnirudhG07 and sxyazi authored Jul 7, 2024
1 parent c8e22f7 commit e4b81c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 0 additions & 12 deletions docs/plugins/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,18 +191,6 @@ ya.err("Hello", "World!") -- Multiple arguments are suppor
ya.err({ foo = "bar", baz = 123, qux = true }) -- Any type of data is supported
```

### `raw_err(msg)` {#ya.raw_err}

Append a message to [the log file](/docs/plugins/overview#logging) at the error level, and keep the message as it is:

- `msg` - Required, the message to be logged, which is a string.

```lua
ya.raw_err("Hello, World!")
```

The nightly version of Yazi is required at the moment.

### `sync(fn)` {#ya.sync}

See [Async context](/docs/plugins/overview#async-context).
Expand Down
8 changes: 6 additions & 2 deletions docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ Archives:

BitTorrent:

- [torrent-preview.yazi](https://github.com/kirasok/torrent-preview.yazi) - Preview "\*.torrent" files using [transmission-cli](https://github.com/transmission/transmission)
- [torrent-preview.yazi](https://github.com/kirasok/torrent-preview.yazi) - Preview "\*.torrent" files using [transmission-cli](https://github.com/transmission/transmission).

Jupyter Notebooks:

- [nbpreview.yazi](https://github.com/AnirudhG07/nbpreview.yazi) - Preview jupyter notebooks(\*.ipynb) files using [nbpreview](https://github.com/paw-lu/nbpreview).

## 🧩 Functional plugins {#functional}

Expand Down Expand Up @@ -73,7 +77,7 @@ File actions:

General command enhancements:

- [augment-command.yazi](https://github.com/hankertrix/augment-command.yazi) - Enhances a few Yazi commands with better handling of the choice between selected items and the hovered item. It also auto-extracts archives and has bidirectional skipping of directories with a single sub-directory, while also including quite a few of the plugins on the [tips page](/docs/tips) like `smart-enter`, `smart-paste`, `parent-arrow` and more.
- [augment-command.yazi](https://github.com/hankertrix/augment-command.yazi) - Enhances a few Yazi commands with better handling of the choice between selected items and the hovered item.

UI enhancements:

Expand Down

0 comments on commit e4b81c4

Please sign in to comment.