html-to-markdown 2.19.4 → 2.19.5
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +4 -4
- data/ext/html-to-markdown-rb/native/Cargo.toml +2 -2
- data/lib/html_to_markdown/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43c309104f11d916f5ee32c5c50830b9add3f0a17fa777b1ea3c753c5e55ce2b
|
|
4
|
+
data.tar.gz: bc29782912960e170c41e101d2c2972986020065af1fef39304e7091143a3c01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad112ceeac13b788b7800e23a6200f5aa986bc813f680e2d54eb0fb1f63f1eb7acd01854ab92971ae6bf944b1b03f430821e40c6ca0f037ec6fe793085f2d958
|
|
7
|
+
data.tar.gz: ab86ed0ecfc2d035796badcca140bd05ab2fec178f85482be4ff43db8e7d1c98cb5fea274897082da50facdbe71eb4191e99635397ea010ecfd25d38744ab7b5
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
html-to-markdown (2.19.
|
|
4
|
+
html-to-markdown (2.19.5)
|
|
5
5
|
rb_sys (>= 0.9, < 1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -150,7 +150,7 @@ CHECKSUMS
|
|
|
150
150
|
ffi (1.17.2-arm64-darwin) sha256=54dd9789be1d30157782b8de42d8f887a3c3c345293b57ffb6b45b4d1165f813
|
|
151
151
|
ffi (1.17.2-x86_64-linux-gnu) sha256=05d2026fc9dbb7cfd21a5934559f16293815b7ce0314846fee2ac8efbdb823ea
|
|
152
152
|
fileutils (1.8.0) sha256=8c6b1df54e2540bdb2f39258f08af78853aa70bad52b4d394bbc6424593c6e02
|
|
153
|
-
html-to-markdown (2.19.
|
|
153
|
+
html-to-markdown (2.19.5)
|
|
154
154
|
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
155
155
|
json (2.18.0) sha256=b10506aee4183f5cf49e0efc48073d7b75843ce3782c68dbeb763351c08fd505
|
|
156
156
|
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
data/README.md
CHANGED
|
@@ -86,9 +86,9 @@ See [Performance Guide](../../examples/performance/) for detailed benchmarks.
|
|
|
86
86
|
Basic conversion:
|
|
87
87
|
|
|
88
88
|
```ruby
|
|
89
|
-
require
|
|
89
|
+
require 'html_to_markdown'
|
|
90
90
|
|
|
91
|
-
html =
|
|
91
|
+
html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>"
|
|
92
92
|
markdown = HtmlToMarkdown.convert(html)
|
|
93
93
|
```
|
|
94
94
|
|
|
@@ -97,9 +97,9 @@ markdown = HtmlToMarkdown.convert(html)
|
|
|
97
97
|
With conversion options:
|
|
98
98
|
|
|
99
99
|
```ruby
|
|
100
|
-
require
|
|
100
|
+
require 'html_to_markdown'
|
|
101
101
|
|
|
102
|
-
html =
|
|
102
|
+
html = "<h1>Hello</h1><p>This is <strong>fast</strong>!</p>"
|
|
103
103
|
markdown = HtmlToMarkdown.convert(html, heading_style: :atx, code_block_style: :fenced)
|
|
104
104
|
```
|
|
105
105
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "html-to-markdown-rb"
|
|
3
|
-
version = "2.19.
|
|
3
|
+
version = "2.19.5"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -18,7 +18,7 @@ name = "html_to_markdown_rb"
|
|
|
18
18
|
crate-type = ["cdylib", "rlib"]
|
|
19
19
|
|
|
20
20
|
[dependencies]
|
|
21
|
-
html-to-markdown-rs = { version = "2.19.
|
|
21
|
+
html-to-markdown-rs = { version = "2.19.5", features = ["inline-images", "visitor", "metadata"] }
|
|
22
22
|
magnus = { git = "https://github.com/matsadler/magnus", rev = "f6db11769efb517427bf7f121f9c32e18b059b38", features = ["rb-sys"] }
|
|
23
23
|
|
|
24
24
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|