rehype-instui-markdown 0.0.8 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -35,7 +35,9 @@ The background is <span class="color-code" data-color="#1f2937">#1f2937</span> a
35
35
 
36
36
  ### `rehypeInstUIIconTokens`
37
37
 
38
- Wraps `:iconName:` and `:iconName|color:` tokens in `<span class="icon-token" data-icon="…">` elements so a downstream renderer can swap them for real icon components. Skips any content inside `<pre>` or `<code>` blocks.
38
+ Wraps `:iconName:` and `:iconName|color:` tokens in `<span class="icon-token" data-icon="…">` elements so a downstream renderer can swap them for icons. Skips any content inside `<pre>` or `<code>` blocks.
39
+
40
+ This plugin is provider-agnostic: it does not decide whether a token maps to InstUI, SimpleIcons, or another icon source. Provider selection and fallback behavior are handled by the consuming renderer.
39
41
 
40
42
  ```ts
41
43
  import { rehypeInstUIIconTokens } from "rehype-instui-markdown";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rehype-instui-markdown",
3
- "version": "0.0.8",
3
+ "version": "0.1.0",
4
4
  "description": "Rehype plugins for InstUI markdown rendering",
5
5
  "license": "MIT",
6
6
  "files": [