Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit de58de2

Browse files
Update index.html
1 parent e0002ea commit de58de2

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

β€Ždocs/index.html

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,37 @@
2323

2424
</style>
2525

26-
<!-- Plugins that are needed before app configuration. -->
2726
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
27+
28+
<script defer src="//unpkg.com/docsify/lib/docsify.min.js"></script>
29+
<script defer src="//cdn.jsdelivr.net/npm/prismjs/components/prism-markdown.min.js"></script>
2830

2931
</head>
3032

3133
<body>
3234
<div id="app"></div>
3335

3436
<script>
35-
var repo = 'https://github.com/MichaelCurrin/docsify-js-tutorial';
37+
var repoUrl = "https://github.com/MichaelCurrin/docsify-js-tutorial";
38+
var editPath = repoUrl + "/blob/master/docs/";
39+
var editMsg = "πŸ“ Edit on GitHub";
3640

3741
window.$docsify = {
38-
name: 'DocsifyJS Tutorial',
39-
repo,
42+
name: "DocsifyJS Tutorial",
43+
repo: repoUrl,
44+
4045
auto2top: true,
4146
coverpage: true,
4247
loadSidebar: false,
43-
themeColor: '#3271a8',
48+
themeColor: "#3271a8",
4449

4550
plugins: [
46-
EditOnGithubPlugin.create(
47-
repo + '/blob/master/docs/',
48-
null,
49-
'πŸ“ Edit on GitHub',
50-
)
51+
EditOnGithubPlugin.create(editPath, null, editMsg)
5152
],
5253
};
5354

5455
</script>
5556

56-
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
57-
58-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-markdown.min.js"></script>
59-
6057
</body>
6158

6259
</html>

0 commit comments

Comments
(0)

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /