@hongdown/wasm 0.2.0-dev.75 → 0.2.0-dev.78
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/dist/hongdown_bg.wasm +0 -0
- package/dist/index.d.cts +21 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +21 -0
- package/dist/index.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/hongdown_bg.wasm
CHANGED
|
Binary file
|
package/dist/index.d.cts
CHANGED
|
@@ -34,6 +34,27 @@ interface FormatOptions {
|
|
|
34
34
|
* @default true
|
|
35
35
|
*/
|
|
36
36
|
setextH2?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Convert headings to sentence case.
|
|
39
|
+
* When enabled, headings like "Getting Started With HONGDOWN" become
|
|
40
|
+
* "Getting started with Hongdown".
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
headingSentenceCase?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Additional proper nouns to preserve in sentence case.
|
|
46
|
+
* These are merged with built-in proper nouns (like "GitHub", "JavaScript").
|
|
47
|
+
* @example ["MyApp", "OpenAI"]
|
|
48
|
+
* @default []
|
|
49
|
+
*/
|
|
50
|
+
headingProperNouns?: string[];
|
|
51
|
+
/**
|
|
52
|
+
* Words to treat as common nouns in sentence case.
|
|
53
|
+
* These are excluded from built-in proper nouns.
|
|
54
|
+
* @example ["react"]
|
|
55
|
+
* @default []
|
|
56
|
+
*/
|
|
57
|
+
headingCommonNouns?: string[];
|
|
37
58
|
/**
|
|
38
59
|
* Marker character for unordered lists: `"-"`, `"*"`, or `"+"`.
|
|
39
60
|
* @default "-"
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;AAMA;AAQA;AAOA;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;AAMA;AAQA;AAOA;;;AA4KW,KA3LC,cAAA,GA2LD,OAAA,GAAA,KAAA;;AAMX;AAeA;;;;AC1IsB,KD9DV,WAAA,GCgED,KAAA,GAAA,MACR;AA4BH;;;;;UDtFiB,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAqFE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA+ER;;;;;;;WAQA;;;;;UAMM,OAAA;;;;;;;;;;;;;UAeA,YAAA;;;;;;;;YASL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCnJU,MAAA,0BAEX,gBACR;;;;;;;;;;;;;;;;;;;;;;;;iBA4BmB,kBAAA,0BAEX,gBACR,QAAQ"}
|
package/dist/index.d.mts
CHANGED
|
@@ -34,6 +34,27 @@ interface FormatOptions {
|
|
|
34
34
|
* @default true
|
|
35
35
|
*/
|
|
36
36
|
setextH2?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Convert headings to sentence case.
|
|
39
|
+
* When enabled, headings like "Getting Started With HONGDOWN" become
|
|
40
|
+
* "Getting started with Hongdown".
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
headingSentenceCase?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Additional proper nouns to preserve in sentence case.
|
|
46
|
+
* These are merged with built-in proper nouns (like "GitHub", "JavaScript").
|
|
47
|
+
* @example ["MyApp", "OpenAI"]
|
|
48
|
+
* @default []
|
|
49
|
+
*/
|
|
50
|
+
headingProperNouns?: string[];
|
|
51
|
+
/**
|
|
52
|
+
* Words to treat as common nouns in sentence case.
|
|
53
|
+
* These are excluded from built-in proper nouns.
|
|
54
|
+
* @example ["react"]
|
|
55
|
+
* @default []
|
|
56
|
+
*/
|
|
57
|
+
headingCommonNouns?: string[];
|
|
37
58
|
/**
|
|
38
59
|
* Marker character for unordered lists: `"-"`, `"*"`, or `"+"`.
|
|
39
60
|
* @default "-"
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;AAMA;AAQA;AAOA;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;AAMA;AAQA;AAOA;;;AA4KW,KA3LC,cAAA,GA2LD,OAAA,GAAA,KAAA;;AAMX;AAeA;;;;AC1IsB,KD9DV,WAAA,GCgED,KAAA,GAAA,MACR;AA4BH;;;;;UDtFiB,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAqFE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA+ER;;;;;;;WAQA;;;;;UAMM,OAAA;;;;;;;;;;;;;UAeA,YAAA;;;;;;;;YASL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCnJU,MAAA,0BAEX,gBACR;;;;;;;;;;;;;;;;;;;;;;;;iBA4BmB,kBAAA,0BAEX,gBACR,QAAQ"}
|
package/package.json
CHANGED