Skip to content

Commit

Permalink
add missing import snippet (#37101)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbenz committed Dec 3, 2021
1 parent 4a66d3f commit bb3beea
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions extensions/amp-lightbox-gallery/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ defineBentoLightboxGallery();

### Import via `<script>`

```html
<script type="module" async src="https://cdn.ampproject.org/bento.mjs"></script>
<script nomodule src="https://cdn.ampproject.org/bento.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.ampproject.org/v0/bento-lightbox-gallery-1.0.css"
>
<script type="module" async src="https://cdn.ampproject.org/v0/bento-lightbox-gallery-1.0.mjs"></script>
<script nomodule async src="https://cdn.ampproject.org/v0/bento-lightbox-gallery-1.0.js"></script>
```

### Example

<!--% example %-->

```html
Expand Down
10 changes: 10 additions & 0 deletions extensions/amp-lightbox/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ defineBentoLightbox();

### Import via `<script>`

```html
<script type="module" async src="https://cdn.ampproject.org/bento.mjs"></script>
<script nomodule src="https://cdn.ampproject.org/bento.js"></script>
<script type="module" async src="https://cdn.ampproject.org/v0/bento-lightbox-1.0.mjs"></script>
<script nomodule async src="https://cdn.ampproject.org/v0/bento-lightbox-1.0.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.ampproject.org/v0/bento-lightbox-1.0.css">
```

### Example

<!--% example %-->

```html
Expand Down

0 comments on commit bb3beea

Please sign in to comment.