Skip to content

Commit 9213679

Browse files
committed
doc: 0.19.7
1 parent 0f8c70a commit 9213679

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ npm install @antonz/codapi
3737
Or use a CDN:
3838

3939
```html
40-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
40+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
4141
```
4242

4343
Optional styles:
4444

4545
```html
46-
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].0/dist/snippet.css" />
46+
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].7/dist/snippet.css" />
4747
```
4848

4949
## Usage

docs/browser-only.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Note that WASI-based playgrounds (`engine` = `wasi` in the examples below) requi
88

99
```html
1010
<script src="https://unpkg.com/@antonz/[email protected]/dist/runno.js"></script>
11-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/engine/wasi.js"></script>
12-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
11+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/engine/wasi.js"></script>
12+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
1313
```
1414

1515
## JavaScript
@@ -102,8 +102,8 @@ Note that this playground requires additional scripts besides the usual `snippet
102102
import { PGlite } from "https://cdn.jsdelivr.net/npm/@electric-sql/pglite/dist/index.js";
103103
window.PGlite = PGlite;
104104
</script>
105-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/engine/pglite.js"></script>
106-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
105+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/engine/pglite.js"></script>
106+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
107107
```
108108

109109
## Python

docs/docsify.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ Finally, add references to the Codapi script and styling in the `index.html` fil
3737
<head>
3838
<!-- ... -->
3939
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css" />
40-
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].0/dist/snippet.css" />
40+
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].7/dist/snippet.css" />
4141
</head>
4242

4343
<body>
4444
<!-- ... -->
4545
<!-- Docsify v4 -->
4646
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
47-
<script defer src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
47+
<script defer src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
4848
</body>
4949
```
5050

docs/docusaurus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ const config = {
3939

4040
stylesheets: [
4141
{
42-
href: "https://unpkg.com/@antonz/[email protected].0/dist/snippet.css",
42+
href: "https://unpkg.com/@antonz/[email protected].7/dist/snippet.css",
4343
},
4444
],
4545

4646
scripts: [
4747
{
48-
src: "https://unpkg.com/@antonz/[email protected].0/dist/snippet.js",
48+
src: "https://unpkg.com/@antonz/[email protected].7/dist/snippet.js",
4949
defer: true,
5050
},
5151
],

docs/html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ Note two properties here:
4343
Finally, include the default styles in the `head`:
4444

4545
```html
46-
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].0/dist/snippet.css" />
46+
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].7/dist/snippet.css" />
4747
```
4848

4949
And the JavaScript file at the bottom of the page:
5050

5151
```html
52-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
52+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
5353
```
5454

5555
(CDNs like unpkg can sometimes be slow, so it's even better to host both files yourself)
@@ -139,7 +139,7 @@ The appropriate version must be enabled on the server.
139139
To change the Codapi settings, use the `codapi-settings` element. First, load it from the CDN:
140140

141141
```html
142-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/settings.js"></script>
142+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/settings.js"></script>
143143
```
144144

145145
Then use it like this:

docs/wordpress.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Note two properties here:
3434
Finally, at the bottom of the page, add another _Custom HTML_ block with Codapi script and styling (you will only need one such block no matter how many snippets you put on a page):
3535

3636
```html
37-
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].0/dist/snippet.css" />
38-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
37+
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].7/dist/snippet.css" />
38+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
3939
```
4040

4141
And that's it! The `codapi-snippet` automatically attaches itself to the preceding _Code_ block, allowing you to run and edit the code. It looks like this:
@@ -73,8 +73,8 @@ Immediately below it, add a _Custom HTML_ block with the following content (note
7373
Finally, at the bottom of the page, add another _Custom HTML_ block with Codapi script and styling (do this only if you haven't already added it):
7474

7575
```html
76-
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].0/dist/snippet.css" />
77-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
76+
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].7/dist/snippet.css" />
77+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
7878
```
7979

8080
And here comes your interactive code snippet with syntax highlighting!
@@ -144,8 +144,8 @@ Note the `template` attribute here, which refers to the `main.sql` we added earl
144144
Finally, at the bottom of the page, add another _Custom HTML_ block with Codapi script and styling (do this only if you haven't already added it):
145145

146146
```html
147-
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].0/dist/snippet.css" />
148-
<script src="https://unpkg.com/@antonz/[email protected].0/dist/snippet.js"></script>
147+
<link rel="stylesheet" href="https://unpkg.com/@antonz/[email protected].7/dist/snippet.css" />
148+
<script src="https://unpkg.com/@antonz/[email protected].7/dist/snippet.js"></script>
149149
```
150150

151151
And here comes your interactive SQL snippet!

0 commit comments

Comments
 (0)