pretty-toc 1.2.4 → 1.2.5
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 +4 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,14 +82,12 @@ processor: satteri({
|
|
|
82
82
|
timingFunction: 'ease-in-out'
|
|
83
83
|
},
|
|
84
84
|
class: {
|
|
85
|
-
summary: "",
|
|
86
85
|
ul: "",
|
|
87
86
|
li: "",
|
|
88
87
|
a: "",
|
|
89
88
|
},
|
|
90
89
|
globalStyle: "",
|
|
91
90
|
style: {
|
|
92
|
-
summary: "",
|
|
93
91
|
ul: "",
|
|
94
92
|
li: "",
|
|
95
93
|
a: "",
|
|
@@ -117,7 +115,7 @@ processor: satteri({
|
|
|
117
115
|
|
|
118
116
|
## Options
|
|
119
117
|
|
|
120
|
-
|Property|Type|Default Value|Preset Value|
|
|
118
|
+
|Property|Type|Default Value|Preset Value|Description|
|
|
121
119
|
|:---|:---|:---|:---|:--|
|
|
122
120
|
|title|string|Table of Contents|Table of Contents|-|
|
|
123
121
|
|openedMarker|string or undefined|undefined|▼|***Note: titleMarkerType must already be set.***|
|
|
@@ -131,8 +129,8 @@ processor: satteri({
|
|
|
131
129
|
|lightThemeHighlightColor|string or undefined|undefined|oklch(0.75 0.1229 12.71)|-|
|
|
132
130
|
|darkThemeHighlightColor|string or undefined|undefined|oklch(0.81 0.1004 305.04)|-|
|
|
133
131
|
|animation|boolean or { duration: string, timingFunction: string } or undefined|undefined|{ duration: "0.8s", timingFunction: 'ease-in-out' }|-|
|
|
134
|
-
|class|{
|
|
135
|
-
|globalStyle|string or or undefined|undefined|undefined|eg. "
|
|
136
|
-
|style|Object{
|
|
132
|
+
|class|{title?: string, ul?: string, li?: string, a?: string} or or undefined|undefined|undefined|eg. {li: "py-1"}|
|
|
133
|
+
|globalStyle|string or or undefined|undefined|undefined|eg. "ul {background-color: yellow;}"|
|
|
134
|
+
|style|Object{title?: string, ul?: string, li?: string, a?: string} or or undefined|undefined|undefined|eg. {a: "font-style: italic;"}|
|
|
137
135
|
|locale|string or undefined|undefined|en-US|eg. "zh-CN" // **Note: The case of the locale variable should match the locale in your page URL.**|
|
|
138
136
|
|languageMap|Record<string, string> or undefined|undefined|{"de-DE": "Inhaltsverzeichnis","el-GR": "Περιεχόμενα","en-US": "Contents","es-ES": "Índice","fr-FR": "Sommaire","it-IT": "Indice","ja-JP": "目次","ko-KR": "목차","ru-RU": "Оглавление","th-TH": "สารบัญ","tr-TR": "İçindekiler","zh-CN": "目录","zh-Hant": "目錄"}|eg. {"en-US": "Table of Contents", "ja-JP": "目次"}|
|