pretty-toc 0.1.0 → 0.1.2
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 +6 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -25,11 +25,14 @@ processor: satteri({
|
|
|
25
25
|
directive: true,
|
|
26
26
|
math: true,
|
|
27
27
|
},
|
|
28
|
-
// mdastPlugins: [mdastPlugin],
|
|
29
28
|
hastPlugins: [
|
|
30
29
|
prettyToc({
|
|
31
30
|
title: "Table of Contents",
|
|
32
|
-
listStyle: "
|
|
31
|
+
listStyle: "image", // disc, circle, decimal, none... icon, image...
|
|
32
|
+
icon: ["🐶", "🦁", "🐷", "🐸", "🐥", "🐞"],
|
|
33
|
+
image:
|
|
34
|
+
"http://localhost:4321/src/assets/svg/flags/circle-flags--kr.svg",
|
|
35
|
+
markerCssSize: "1rem",
|
|
33
36
|
lightThemeHighlightColor: "oklch(0.75 0.1229 12.71)",
|
|
34
37
|
darkThemeHighlightColor: "oklch(0.81 0.1004 305.04)",
|
|
35
38
|
class: {
|
|
@@ -49,7 +52,7 @@ processor: satteri({
|
|
|
49
52
|
languageMap: {
|
|
50
53
|
"de-DE": "Inhaltsverzeichnis",
|
|
51
54
|
"el-GR": "Περιεχόμενα",
|
|
52
|
-
"en-US": "Contents",
|
|
55
|
+
"en-US": "Table of Contents",
|
|
53
56
|
"es-ES": "Índice",
|
|
54
57
|
"fr-FR": "Sommaire",
|
|
55
58
|
"it-IT": "Indice",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pretty-toc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Table of Contents generation plugin for the Satteri markdown parser library.",
|
|
6
6
|
"keywords": [
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"files": [
|
|
31
31
|
"dist"
|
|
32
32
|
],
|
|
33
|
+
"types": "./dist/index.d.mts",
|
|
33
34
|
"scripts": {
|
|
34
35
|
"build": "tsdown",
|
|
35
36
|
"dev": "tsdown --watch",
|