Hexo plugin providing two methods to use the entire 100,000+ icon set from Iconify: inline SVG via the `icon()` helper and CSS mask-image via the `icons()` helper. Current stable version 1.0.0. Requires `@iconify/json`, `@iconify/utils`, and `hexo-fs` (bundled with Hexo). Designed for Hexo blogs; the `icons()` helper injects SVG data URLs into a specified CSS file at build time, avoiding runtime requests. Replaces earlier approaches like `hexo-iconify-beta` and focuses on simplicity and zero runtime overhead.
npm install hexo-tinyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install hexo-iconify, then use icon() for inline SVG or icons() for CSS mask-image icons in Hexo themes.
Rename conflicting helpers or avoid using those names in your theme.
Upgrade to hexo-iconify@1.0.0 and update helper usage.
Always provide the full name with colon separator, e.g., 'ph:magnifying-glass'.
Provide the file path or set `iconify.file` in root config.
Base class must be defined before the auto-generated rules, and avoid modifying the appended `--svg` rules.
Verify the collection prefix and icon name; use https://icones.netlify.app to find valid names.
Run `npm install @iconify/json` in your project root.
Run `npm install @iconify/utils` in your project root.
Set `iconify.file: 'path/to/your.css'` in _config.yml or pass file path as second argument.