File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
1818PouchDB can also be directly downloaded:
1919
Original file line number Diff line number Diff 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
4141Open ` 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
4949PouchDB is now installed in your app and ready to use! (In production, you should use a local copy of the script.)
5050
You can’t perform that action at this time.
0 commit comments