@pixelmatters/markup 1.25.1 → 1.25.2
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.
- package/README.md +6 -6
- package/dist/widget.js +1039 -1014
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/skills/install-markup-widget/SKILL.md +4 -4
package/README.md
CHANGED
|
@@ -37,9 +37,9 @@ CDN drop-in, no build step. Paste this just before `</body>`:
|
|
|
37
37
|
```html
|
|
38
38
|
<script type="module">
|
|
39
39
|
// Pin the exact version; esm.sh resolves it from npm
|
|
40
|
-
import { init } from 'https://esm.sh/@pixelmatters/markup@1.25.
|
|
40
|
+
import { init } from 'https://esm.sh/@pixelmatters/markup@1.25.2'
|
|
41
41
|
// or
|
|
42
|
-
// import { init } from 'https://esm.run/@pixelmatters/markup@1.25.
|
|
42
|
+
// import { init } from 'https://esm.run/@pixelmatters/markup@1.25.2'
|
|
43
43
|
|
|
44
44
|
init({
|
|
45
45
|
apiUrl: 'https://your-deployment.convex.site',
|
|
@@ -50,14 +50,14 @@ CDN drop-in, no build step. Paste this just before `</body>`:
|
|
|
50
50
|
</script>
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
> **Why pin the version?** CDN URLs without a version (`@pixelmatters/markup`) resolve to whatever's `latest` on npm, so a future major release will break your page with no warning. Always pin (`@pixelmatters/markup@1.25.
|
|
53
|
+
> **Why pin the version?** CDN URLs without a version (`@pixelmatters/markup`) resolve to whatever's `latest` on npm, so a future major release will break your page with no warning. Always pin (`@pixelmatters/markup@1.25.2`).
|
|
54
54
|
|
|
55
55
|
If your platform doesn't allow inline JS (some CMS / page-builder editors), use the auto-init form instead. Point a `<script src=…>` at the bundle and pass config via `data-*` attributes:
|
|
56
56
|
|
|
57
57
|
```html
|
|
58
58
|
<script
|
|
59
59
|
type="module"
|
|
60
|
-
src="https://esm.sh/@pixelmatters/markup@1.25.
|
|
60
|
+
src="https://esm.sh/@pixelmatters/markup@1.25.2"
|
|
61
61
|
data-markup-widget="true"
|
|
62
62
|
data-api-url="https://your-deployment.convex.site"
|
|
63
63
|
data-api-key="markup_..."
|
|
@@ -375,7 +375,7 @@ For a `<script>` tag drop-in (no bundler), use the inline ESM form and **pin the
|
|
|
375
375
|
|
|
376
376
|
```html
|
|
377
377
|
<script type="module">
|
|
378
|
-
import { init } from 'https://esm.sh/@pixelmatters/markup@1.25.
|
|
378
|
+
import { init } from 'https://esm.sh/@pixelmatters/markup@1.25.2'
|
|
379
379
|
|
|
380
380
|
init({
|
|
381
381
|
apiUrl: '...',
|
|
@@ -391,7 +391,7 @@ If inline JS is disallowed (some CMS / page-builder editors), use the auto-init
|
|
|
391
391
|
```html
|
|
392
392
|
<script
|
|
393
393
|
type="module"
|
|
394
|
-
src="https://esm.sh/@pixelmatters/markup@1.25.
|
|
394
|
+
src="https://esm.sh/@pixelmatters/markup@1.25.2"
|
|
395
395
|
data-markup-widget="true"
|
|
396
396
|
data-api-url="..."
|
|
397
397
|
data-api-key="..."
|