UNPKG

@nolebase/vitepress-plugin-thumbnail-hash

Version:

A VitePress plugin that scan and generate data with blurhash, thumbhash hashing algorithm for images, as well as a standalone component to render images with blurhash and thumbhash.

28 lines (17 loc) 808 B
# `@nolebase/vitepress-plugin-thumbnail-hash` A VitePress plugin that scan and generate data with [blurhash](https://github.com/woltapp/blurhash), [thumbhash](https://github.com/evanw/thumbhash) hashing algorithm for images, as well as a standalone component to render images with [blurhash](https://github.com/woltapp/blurhash) and [thumbhash](https://github.com/evanw/thumbhash). ## Install ### Npm ```shell npm i @nolebase/vitepress-plugin-thumbnail-hash -D ``` ### Yarn ```shell yarn add @nolebase/vitepress-plugin-thumbnail-hash -D ``` ### Pnpm ```shell pnpm add @nolebase/vitepress-plugin-thumbnail-hash -D ``` ## Documentation Please refer to [Thumbnail hashing for images](https://nolebase-integrations.ayaka.io/pages/en/integrations/vitepress-plugin-thumbnail-hash/) for more information.