hexo-auto-toc 1.0.6 → 1.0.7
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.
- package/README.md +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,14 +52,19 @@ npm install hexo-auto-toc
|
|
|
52
52
|
- New Updates
|
|
53
53
|
|
|
54
54
|
- version 1.0.6
|
|
55
|
+
|
|
55
56
|
Except index page, other pages have TOC if they have kinds of headers.
|
|
56
57
|
|
|
57
58
|
- version 1.0.5
|
|
59
|
+
|
|
58
60
|
Greater compatibility: Works with a wider variety of themes.
|
|
61
|
+
|
|
59
62
|
Performance Boost: Optimized the regular expressions for better matching.
|
|
63
|
+
|
|
60
64
|
Reliable Parsing: Integrated the Cheerio library to parse HTML, avoiding the drawbacks and errors common with regular expressions.
|
|
61
|
-
|
|
62
|
-
element if one is present.
|
|
65
|
+
|
|
66
|
+
Smarter Positioning: Improved the Table of Contents (TOC) module's location; it will now be placed directly after the element if one is present.
|
|
67
|
+
|
|
63
68
|
Automatic Layout: Enhanced the left/right placement of the TOC, allowing it to automatically choose the best side.
|
|
64
69
|
|
|
65
70
|
# Recommendations
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hexo-auto-toc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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",
|