@kreuzberg/html-to-markdown-wasm 3.6.6 → 3.6.8
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/package.json +1 -1
- package/pkg/bundler/html_to_markdown_wasm.d.ts +8 -8
- package/pkg/bundler/html_to_markdown_wasm_bg.js +8 -8
- package/pkg/bundler/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/html_to_markdown_wasm.d.ts +8 -8
- package/pkg/deno/html_to_markdown_wasm.js +8 -8
- package/pkg/deno/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/nodejs/html_to_markdown_wasm.d.ts +8 -8
- package/pkg/nodejs/html_to_markdown_wasm.js +8 -8
- package/pkg/nodejs/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/html_to_markdown_wasm.d.ts +8 -8
- package/pkg/web/html_to_markdown_wasm.js +8 -8
- package/pkg/web/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/web/package.json +1 -1
package/package.json
CHANGED
|
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
|
-
* Convert HTML to Markdown,
|
|
982
|
-
*
|
|
981
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
982
|
+
*
|
|
983
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
984
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
985
|
+
* enabled features and conversion options.
|
|
983
986
|
*
|
|
984
987
|
* # Arguments
|
|
985
988
|
*
|
|
986
989
|
* * `html` — the HTML string to convert.
|
|
987
|
-
* * `options` — conversion options.
|
|
988
|
-
* `
|
|
989
|
-
* -
|
|
990
|
-
* - `convert(html, opts)` — bare options.
|
|
991
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
992
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
990
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
991
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
992
|
+
* option fields through language-native constructors or optional parameters.
|
|
993
993
|
*
|
|
994
994
|
* # Example
|
|
995
995
|
*
|
|
@@ -5598,18 +5598,18 @@ export const WasmWhitespaceMode = Object.freeze({
|
|
|
5598
5598
|
});
|
|
5599
5599
|
|
|
5600
5600
|
/**
|
|
5601
|
-
* Convert HTML to Markdown,
|
|
5602
|
-
*
|
|
5601
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
5602
|
+
*
|
|
5603
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
5604
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
5605
|
+
* enabled features and conversion options.
|
|
5603
5606
|
*
|
|
5604
5607
|
* # Arguments
|
|
5605
5608
|
*
|
|
5606
5609
|
* * `html` — the HTML string to convert.
|
|
5607
|
-
* * `options` — conversion options.
|
|
5608
|
-
* `
|
|
5609
|
-
* -
|
|
5610
|
-
* - `convert(html, opts)` — bare options.
|
|
5611
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
5612
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
5610
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
5611
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
5612
|
+
* option fields through language-native constructors or optional parameters.
|
|
5613
5613
|
*
|
|
5614
5614
|
* # Example
|
|
5615
5615
|
*
|
|
Binary file
|
package/pkg/bundler/package.json
CHANGED
|
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
|
-
* Convert HTML to Markdown,
|
|
982
|
-
*
|
|
981
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
982
|
+
*
|
|
983
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
984
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
985
|
+
* enabled features and conversion options.
|
|
983
986
|
*
|
|
984
987
|
* # Arguments
|
|
985
988
|
*
|
|
986
989
|
* * `html` — the HTML string to convert.
|
|
987
|
-
* * `options` — conversion options.
|
|
988
|
-
* `
|
|
989
|
-
* -
|
|
990
|
-
* - `convert(html, opts)` — bare options.
|
|
991
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
992
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
990
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
991
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
992
|
+
* option fields through language-native constructors or optional parameters.
|
|
993
993
|
*
|
|
994
994
|
* # Example
|
|
995
995
|
*
|
|
@@ -5600,18 +5600,18 @@ export const WasmWhitespaceMode = Object.freeze({
|
|
|
5600
5600
|
});
|
|
5601
5601
|
|
|
5602
5602
|
/**
|
|
5603
|
-
* Convert HTML to Markdown,
|
|
5604
|
-
*
|
|
5603
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
5604
|
+
*
|
|
5605
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
5606
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
5607
|
+
* enabled features and conversion options.
|
|
5605
5608
|
*
|
|
5606
5609
|
* # Arguments
|
|
5607
5610
|
*
|
|
5608
5611
|
* * `html` — the HTML string to convert.
|
|
5609
|
-
* * `options` — conversion options.
|
|
5610
|
-
* `
|
|
5611
|
-
* -
|
|
5612
|
-
* - `convert(html, opts)` — bare options.
|
|
5613
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
5614
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
5612
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
5613
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
5614
|
+
* option fields through language-native constructors or optional parameters.
|
|
5615
5615
|
*
|
|
5616
5616
|
* # Example
|
|
5617
5617
|
*
|
|
Binary file
|
|
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
|
-
* Convert HTML to Markdown,
|
|
982
|
-
*
|
|
981
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
982
|
+
*
|
|
983
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
984
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
985
|
+
* enabled features and conversion options.
|
|
983
986
|
*
|
|
984
987
|
* # Arguments
|
|
985
988
|
*
|
|
986
989
|
* * `html` — the HTML string to convert.
|
|
987
|
-
* * `options` — conversion options.
|
|
988
|
-
* `
|
|
989
|
-
* -
|
|
990
|
-
* - `convert(html, opts)` — bare options.
|
|
991
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
992
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
990
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
991
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
992
|
+
* option fields through language-native constructors or optional parameters.
|
|
993
993
|
*
|
|
994
994
|
* # Example
|
|
995
995
|
*
|
|
@@ -5642,18 +5642,18 @@ const WasmWhitespaceMode = Object.freeze({
|
|
|
5642
5642
|
exports.WasmWhitespaceMode = WasmWhitespaceMode;
|
|
5643
5643
|
|
|
5644
5644
|
/**
|
|
5645
|
-
* Convert HTML to Markdown,
|
|
5646
|
-
*
|
|
5645
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
5646
|
+
*
|
|
5647
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
5648
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
5649
|
+
* enabled features and conversion options.
|
|
5647
5650
|
*
|
|
5648
5651
|
* # Arguments
|
|
5649
5652
|
*
|
|
5650
5653
|
* * `html` — the HTML string to convert.
|
|
5651
|
-
* * `options` — conversion options.
|
|
5652
|
-
* `
|
|
5653
|
-
* -
|
|
5654
|
-
* - `convert(html, opts)` — bare options.
|
|
5655
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
5656
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
5654
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
5655
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
5656
|
+
* option fields through language-native constructors or optional parameters.
|
|
5657
5657
|
*
|
|
5658
5658
|
* # Example
|
|
5659
5659
|
*
|
|
Binary file
|
package/pkg/nodejs/package.json
CHANGED
|
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
|
-
* Convert HTML to Markdown,
|
|
982
|
-
*
|
|
981
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
982
|
+
*
|
|
983
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
984
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
985
|
+
* enabled features and conversion options.
|
|
983
986
|
*
|
|
984
987
|
* # Arguments
|
|
985
988
|
*
|
|
986
989
|
* * `html` — the HTML string to convert.
|
|
987
|
-
* * `options` — conversion options.
|
|
988
|
-
* `
|
|
989
|
-
* -
|
|
990
|
-
* - `convert(html, opts)` — bare options.
|
|
991
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
992
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
990
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
991
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
992
|
+
* option fields through language-native constructors or optional parameters.
|
|
993
993
|
*
|
|
994
994
|
* # Example
|
|
995
995
|
*
|
|
@@ -5600,18 +5600,18 @@ export const WasmWhitespaceMode = Object.freeze({
|
|
|
5600
5600
|
});
|
|
5601
5601
|
|
|
5602
5602
|
/**
|
|
5603
|
-
* Convert HTML to Markdown,
|
|
5604
|
-
*
|
|
5603
|
+
* Convert HTML to Markdown, Djot, or plain text.
|
|
5604
|
+
*
|
|
5605
|
+
* Returns a `ConversionResult` with converted content plus optional metadata,
|
|
5606
|
+
* document structure, table data, inline images, and warnings depending on the
|
|
5607
|
+
* enabled features and conversion options.
|
|
5605
5608
|
*
|
|
5606
5609
|
* # Arguments
|
|
5607
5610
|
*
|
|
5608
5611
|
* * `html` — the HTML string to convert.
|
|
5609
|
-
* * `options` — conversion options.
|
|
5610
|
-
* `
|
|
5611
|
-
* -
|
|
5612
|
-
* - `convert(html, opts)` — bare options.
|
|
5613
|
-
* - `convert(html, Some(opts))` — explicit `Option`.
|
|
5614
|
-
* - `convert(html, None)` — fall back to `ConversionOptions.default`.
|
|
5612
|
+
* * `options` — conversion options. Rust accepts either bare
|
|
5613
|
+
* `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
|
|
5614
|
+
* option fields through language-native constructors or optional parameters.
|
|
5615
5615
|
*
|
|
5616
5616
|
* # Example
|
|
5617
5617
|
*
|
|
Binary file
|