mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
dd82ab8d79
* Update Assets.md * expand fix for every /plugins page
20 lines
719 B
Markdown
20 lines
719 B
Markdown
---
|
|
title: Assets
|
|
tags:
|
|
- plugin/emitter
|
|
---
|
|
|
|
This plugin emits all non-Markdown static assets in your content folder (like images, videos, HTML, etc). The plugin respects the `ignorePatterns` in the global [[configuration]].
|
|
|
|
Note that all static assets will then be accessible through its path on your generated site, i.e: `host.me/path/to/static.pdf`
|
|
|
|
> [!note]
|
|
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
|
|
|
|
This plugin has no configuration options.
|
|
|
|
## API
|
|
|
|
- Category: Emitter
|
|
- Function name: `Plugin.Assets()`.
|
|
- Source: [`quartz/plugins/emitters/assets.ts`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/emitters/assets.ts).
|