Skip to content

Commit 70b9de3

Browse files
espyjanl
authored andcommitted
fix: use backtick code blocks instead of highlight blocks, since template vars didn't work in those
PouchDB version number was not interpolated in the code examples for the CDN link.
1 parent bc3b3bc commit 70b9de3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/download.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Apache PouchDB™ is an open-source JavaScript database inspired by <a href="htt
88

99
{% include anchor.html class="h3" title="Quick Start" hash="file" %}
1010

11-
{% highlight html %}
11+
```html
1212
<script src="https://cdn.jsdelivr.net/npm/pouchdb@{{site.version}}/dist/pouchdb.min.js"></script>
1313
<script>
1414
const db = new PouchDB('my_database');
1515
</script>
16-
{% endhighlight %}
16+
```
1717

1818
PouchDB can also be directly downloaded:
1919

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ It's also a good idea to open your browser's console so you can see any errors o
4040

4141
Open `index.html` and include PouchDB in the app by adding a script tag:
4242

43-
{% highlight html %}
43+
```html
4444
<script src="https://cdn.jsdelivr.net/npm/pouchdb@{{site.version}}/dist/pouchdb.min.js"></script>
4545
<script src="js/base.js"></script>
4646
<script src="js/app.js"></script>
47-
{% endhighlight %}
47+
```
4848

4949
PouchDB is now installed in your app and ready to use! (In production, you should use a local copy of the script.)
5050

0 commit comments

Comments
 (0)