@xberg-io/html-to-markdown-wasm 3.8.2 → 3.8.3

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 CHANGED
@@ -101,31 +101,11 @@ pnpm add @xberg-io/html-to-markdown-wasm
101
101
 
102
102
  Basic conversion:
103
103
 
104
- ```javascript
105
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
106
-
107
- await init();
108
-
109
- const html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>";
110
- const result = convert(html);
111
- const markdown = result.content;
112
- console.log(markdown);
113
- ```
104
+ <!-- snippet not found: getting-started/basic_usage.md -->
114
105
 
115
106
  With conversion options:
116
107
 
117
- ```javascript
118
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
119
-
120
- await init();
121
-
122
- const result = convert('<h1>Hello</h1><img src="pic.jpg">', {
123
- headingStyle: "atx",
124
- skipImages: true,
125
- });
126
- const markdown = result.content;
127
- console.log(markdown);
128
- ```
108
+ <!-- snippet not found: getting-started/with_options.md -->
129
109
 
130
110
  ## Architecture
131
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xberg-io/html-to-markdown-wasm",
3
- "version": "3.8.2",
3
+ "version": "3.8.3",
4
4
  "private": false,
5
5
  "description": "High-performance HTML to Markdown converter",
6
6
  "license": "MIT",
@@ -101,31 +101,11 @@ pnpm add @xberg-io/html-to-markdown-wasm
101
101
 
102
102
  Basic conversion:
103
103
 
104
- ```javascript
105
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
106
-
107
- await init();
108
-
109
- const html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>";
110
- const result = convert(html);
111
- const markdown = result.content;
112
- console.log(markdown);
113
- ```
104
+ <!-- snippet not found: getting-started/basic_usage.md -->
114
105
 
115
106
  With conversion options:
116
107
 
117
- ```javascript
118
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
119
-
120
- await init();
121
-
122
- const result = convert('<h1>Hello</h1><img src="pic.jpg">', {
123
- headingStyle: "atx",
124
- skipImages: true,
125
- });
126
- const markdown = result.content;
127
- console.log(markdown);
128
- ```
108
+ <!-- snippet not found: getting-started/with_options.md -->
129
109
 
130
110
  ## Architecture
131
111
 
@@ -2,7 +2,7 @@
2
2
  "name": "html-to-markdown-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance HTML to Markdown converter",
5
- "version": "3.8.2",
5
+ "version": "3.8.3",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -101,31 +101,11 @@ pnpm add @xberg-io/html-to-markdown-wasm
101
101
 
102
102
  Basic conversion:
103
103
 
104
- ```javascript
105
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
106
-
107
- await init();
108
-
109
- const html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>";
110
- const result = convert(html);
111
- const markdown = result.content;
112
- console.log(markdown);
113
- ```
104
+ <!-- snippet not found: getting-started/basic_usage.md -->
114
105
 
115
106
  With conversion options:
116
107
 
117
- ```javascript
118
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
119
-
120
- await init();
121
-
122
- const result = convert('<h1>Hello</h1><img src="pic.jpg">', {
123
- headingStyle: "atx",
124
- skipImages: true,
125
- });
126
- const markdown = result.content;
127
- console.log(markdown);
128
- ```
108
+ <!-- snippet not found: getting-started/with_options.md -->
129
109
 
130
110
  ## Architecture
131
111
 
@@ -101,31 +101,11 @@ pnpm add @xberg-io/html-to-markdown-wasm
101
101
 
102
102
  Basic conversion:
103
103
 
104
- ```javascript
105
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
106
-
107
- await init();
108
-
109
- const html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>";
110
- const result = convert(html);
111
- const markdown = result.content;
112
- console.log(markdown);
113
- ```
104
+ <!-- snippet not found: getting-started/basic_usage.md -->
114
105
 
115
106
  With conversion options:
116
107
 
117
- ```javascript
118
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
119
-
120
- await init();
121
-
122
- const result = convert('<h1>Hello</h1><img src="pic.jpg">', {
123
- headingStyle: "atx",
124
- skipImages: true,
125
- });
126
- const markdown = result.content;
127
- console.log(markdown);
128
- ```
108
+ <!-- snippet not found: getting-started/with_options.md -->
129
109
 
130
110
  ## Architecture
131
111
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "html-to-markdown-wasm",
3
3
  "description": "High-performance HTML to Markdown converter",
4
- "version": "3.8.2",
4
+ "version": "3.8.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
package/pkg/web/README.md CHANGED
@@ -101,31 +101,11 @@ pnpm add @xberg-io/html-to-markdown-wasm
101
101
 
102
102
  Basic conversion:
103
103
 
104
- ```javascript
105
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
106
-
107
- await init();
108
-
109
- const html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>";
110
- const result = convert(html);
111
- const markdown = result.content;
112
- console.log(markdown);
113
- ```
104
+ <!-- snippet not found: getting-started/basic_usage.md -->
114
105
 
115
106
  With conversion options:
116
107
 
117
- ```javascript
118
- import init, { convert } from "@xberg-io/html-to-markdown-wasm";
119
-
120
- await init();
121
-
122
- const result = convert('<h1>Hello</h1><img src="pic.jpg">', {
123
- headingStyle: "atx",
124
- skipImages: true,
125
- });
126
- const markdown = result.content;
127
- console.log(markdown);
128
- ```
108
+ <!-- snippet not found: getting-started/with_options.md -->
129
109
 
130
110
  ## Architecture
131
111
 
@@ -2,7 +2,7 @@
2
2
  "name": "html-to-markdown-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance HTML to Markdown converter",
5
- "version": "3.8.2",
5
+ "version": "3.8.3",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",