Skip to content

Commit 299c2c8

Browse files
committed
docs: update quickstart
1 parent bc3ed08 commit 299c2c8

File tree

4 files changed

+19
-22
lines changed

4 files changed

+19
-22
lines changed

README.md

+1-19
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,7 @@
3333

3434
## Quick start
3535

36-
Create an `index.html`.
37-
38-
```html
39-
<!-- index.html -->
40-
41-
<!DOCTYPE html>
42-
<html>
43-
<head>
44-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
45-
<meta name="viewport" content="width=device-width,initial-scale=1">
46-
<meta charset="UTF-8">
47-
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
48-
</head>
49-
<body>
50-
<div id="app"></div>
51-
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
52-
</body>
53-
</html>
54-
```
36+
Look at [this tutorial](https://docsify.js.org/#/quickstart) or [online demo](https://jsfiddle.net/7ztb8qsr/1/).
5537

5638
## Browser Support
5739

docs/de-de/quickstart.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ Wenn du `npm` nicht verwenden möchtest, oder Probleme bei der Installation des
5151
</head>
5252
<body>
5353
<div id="app"></div>
54+
<script>
55+
window.$docsify = {
56+
//...
57+
}
58+
</script>
59+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
5460
</body>
55-
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
5661
</html>
5762
```
5863

docs/quickstart.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ If you don't like `npm` or have trouble installing the tool, you can manually cr
5151
</head>
5252
<body>
5353
<div id="app"></div>
54+
<script>
55+
window.$docsify = {
56+
//...
57+
}
58+
</script>
59+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
5460
</body>
55-
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
5661
</html>
5762
```
5863

docs/zh-cn/quickstart.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ docsify serve docs
5151
</head>
5252
<body>
5353
<div id="app"></div>
54+
<script>
55+
window.$docsify = {
56+
//...
57+
}
58+
</script>
59+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
5460
</body>
55-
<script src="//unpkg.com/docsify"></script>
5661
</html>
5762
```
5863

0 commit comments

Comments
 (0)