hexo-auto-toc 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <a>![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)</a> <a href="https://www.npmjs.com/package/hexo-auto-toc">![](https://img.shields.io/npm/v/hexo-auto-toc)</a> [![Required Hexo version](https://img.shields.io/badge/hexo-%3E=7.3.0-steelblue?style=flat-square&logo=hexo)](https://hexo.io) <a href="https://www.npmjs.com/package/hexo-everyday-calendar">![](https://img.shields.io/npm/dt/hexo-auto-toc)</a>
1
+ <a>![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)</a> <a href="https://www.npmjs.com/package/hexo-auto-toc">![](https://img.shields.io/npm/v/hexo-auto-toc)</a> [![Required Hexo version](https://img.shields.io/badge/hexo-%3E=7.3.0-steelblue?style=flat-square&logo=hexo)](https://hexo.io) <a href="https://www.npmjs.com/package/hexo-auto-toc">![](https://img.shields.io/npm/dt/hexo-auto-toc)</a>
2
2
 
3
3
  # hexo-auto-toc
4
4
 
@@ -14,6 +14,7 @@ npm install hexo-auto-toc
14
14
 
15
15
  2. The plugin will automatically parse all content within the `<article>` tag and generate a table of contents.
16
16
  If your article page structure does not wrap the content inside an `<article>` element, you need to add it manually — typically in the `index.html` file under your `blog` folder.
17
+ 3. check the effects: `hexo clean&&hexo g&&hexo s`
17
18
 
18
19
  - 使用
19
20
 
@@ -24,6 +25,7 @@ npm install hexo-auto-toc
24
25
  ```
25
26
 
26
27
  2. 插件会自动对`<article>`包含下的所有内容进行解析,自动生成目录。如果你的文章页面结构中内容没被`<article>`包裹,需要自行添加它(即blog文件夹下的index.html)
28
+ 2. 查看效果 `hexo clean&&hexo g&&hexo s`
27
29
 
28
30
  - 效果 Example
29
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-auto-toc",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Automatically generates a responsive table of contents that fixes to the side of the article page or above the articles, depending on the user's device.",
5
5
  "keywords": [
6
6
  "toc",