Deploying to gh-pages from - 1e69bd7f06
🚀
This commit is contained in:
parent
944ab3dd4f
commit
1199c41824
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@
|
|||
<ol>
|
||||
<li>
|
||||
在页面的<code></head></code>标签前中引入<code>heti.css</code>样式文件:
|
||||
<pre><code><link rel="stylesheet" href="./heti.css"></code></pre>
|
||||
<pre><code><link rel="stylesheet" href="//unpkg.com/heti/umd/heti.min.css"></code></pre>
|
||||
</li>
|
||||
<li>
|
||||
在要作用的容器元素上增加<code>class="heti"</code>的类名即可:
|
||||
|
@ -468,7 +468,7 @@
|
|||
<details>
|
||||
<summary>查看使用说明</summary>
|
||||
<p>在页面的<code></body></code>标签前引入JavaScript脚本:</p>
|
||||
<pre><code><script src="./heti-addon.min.js"></script>
|
||||
<pre><code><script src="//unpkg.com/heti/umd/heti-addon.min.js"></script>
|
||||
<script>
|
||||
const heti = new Heti();
|
||||
heti.autoSpacing();
|
||||
|
|
Loading…
Reference in a new issue