@kreuzberg/html-to-markdown-node 3.0.2 → 3.1.0
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/index.d.ts +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -96,6 +96,8 @@ export interface JsConversionOptions {
|
|
|
96
96
|
preserveTags?: Array<string>
|
|
97
97
|
/** Skip image conversion (keep as HTML) */
|
|
98
98
|
skipImages?: boolean
|
|
99
|
+
/** Link rendering style */
|
|
100
|
+
linkStyle?: JsLinkStyle
|
|
99
101
|
/** Output format for conversion */
|
|
100
102
|
outputFormat?: JsOutputFormat
|
|
101
103
|
/** Include structured document tree in result */
|
|
@@ -202,6 +204,14 @@ export interface JsInlineImageConfig {
|
|
|
202
204
|
inferDimensions?: boolean
|
|
203
205
|
}
|
|
204
206
|
|
|
207
|
+
/** Link rendering style */
|
|
208
|
+
export declare const enum JsLinkStyle {
|
|
209
|
+
/** Inline links: [text](url) */
|
|
210
|
+
Inline = 'Inline',
|
|
211
|
+
/** Reference-style links: [text][1] with definitions at end */
|
|
212
|
+
Reference = 'Reference'
|
|
213
|
+
}
|
|
214
|
+
|
|
205
215
|
/** List indentation type */
|
|
206
216
|
export declare const enum JsListIndentType {
|
|
207
217
|
Spaces = 'Spaces',
|