File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,14 @@ Gitalk 是一个基于 Github Issue 和 Preact 开发的评论插件。
2020两种方式
2121
2222- 直接引入
23+
2324``` html
25+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css" >
26+ <script src =" https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js" ></script >
27+
28+ <!-- or -->
29+
2430 <link rel =" stylesheet" href =" https://unpkg.com/gitalk/dist/gitalk.css" >
25-
2631 <script src =" https://unpkg.com/gitalk/dist/gitalk.min.js" ></script >
2732```
2833
Original file line number Diff line number Diff line change @@ -21,9 +21,14 @@ Gitalk 是一個基於 Github Issue 和 Preact 開發的評論插件。
2121兩種方式
2222
2323- 直接引入
24+
2425``` html
25- <link rel =" stylesheet" href =" https://unpkg.com/gitalk/dist/gitalk.css" >
26+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css" >
27+ <script src =" https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js" ></script >
2628
29+ <!-- or -->
30+
31+ <link rel =" stylesheet" href =" https://unpkg.com/gitalk/dist/gitalk.css" >
2732 <script src =" https://unpkg.com/gitalk/dist/gitalk.min.js" ></script >
2833```
2934
Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ Gitalk is a modern comment component based on Github Issue and Preact.
2121Two ways.
2222
2323- links
24+
2425``` html
2526 <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css" >
26-
2727 <script src =" https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js" ></script >
28+
2829 <!-- or -->
30+
2931 <link rel =" stylesheet" href =" https://unpkg.com/gitalk/dist/gitalk.css" >
30-
3132 <script src =" https://unpkg.com/gitalk/dist/gitalk.min.js" ></script >
3233```
3334
You can’t perform that action at this time.
0 commit comments