commonmarker 2.4.1 → 2.5.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.
- checksums.yaml +4 -4
- data/Cargo.lock +21 -27
- data/README.md +1 -0
- data/ext/commonmarker/Cargo.toml +2 -2
- data/ext/commonmarker/src/options.rs +4 -0
- data/lib/commonmarker/config.rb +1 -0
- data/lib/commonmarker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9d6790deaf239d395fa86497f109ce5a2a4a32de0aa91b73ac8773f22b6dc81
|
4
|
+
data.tar.gz: 448f8817cda95d0d75dabf0bf4205b35af2e7566f840233810ba62e7cf53e692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cbd1bbda09ff2df41fa129ca9363cbd157ff7b65ee9da4a68eb48bf071dbee35b5ea7ad2c710979a2ad8185a74d5a66462d1f142913674e4bbcebfe96cfea07
|
7
|
+
data.tar.gz: a307526043574d23b537e822ff11fd4d501be2bc31abdf14ed0780c6b76860dbf35118e65f14552479a5c3ddc3edf9ede9ccdc6032242c19eba94201e34495ca
|
data/Cargo.lock
CHANGED
@@ -88,7 +88,7 @@ version = "0.69.5"
|
|
88
88
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
89
89
|
checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
|
90
90
|
dependencies = [
|
91
|
-
"bitflags
|
91
|
+
"bitflags",
|
92
92
|
"cexpr",
|
93
93
|
"clang-sys",
|
94
94
|
"itertools",
|
@@ -104,24 +104,18 @@ dependencies = [
|
|
104
104
|
|
105
105
|
[[package]]
|
106
106
|
name = "bit-set"
|
107
|
-
version = "0.
|
107
|
+
version = "0.8.0"
|
108
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
109
|
-
checksum = "
|
109
|
+
checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
|
110
110
|
dependencies = [
|
111
111
|
"bit-vec",
|
112
112
|
]
|
113
113
|
|
114
114
|
[[package]]
|
115
115
|
name = "bit-vec"
|
116
|
-
version = "0.
|
117
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
118
|
-
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
|
119
|
-
|
120
|
-
[[package]]
|
121
|
-
name = "bitflags"
|
122
|
-
version = "1.3.2"
|
116
|
+
version = "0.8.0"
|
123
117
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
124
|
-
checksum = "
|
118
|
+
checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
|
125
119
|
|
126
120
|
[[package]]
|
127
121
|
name = "bitflags"
|
@@ -266,9 +260,9 @@ dependencies = [
|
|
266
260
|
|
267
261
|
[[package]]
|
268
262
|
name = "comrak"
|
269
|
-
version = "0.
|
263
|
+
version = "0.44.0"
|
270
264
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
271
|
-
checksum = "
|
265
|
+
checksum = "07fcaf1ac457de7574ce514fd9a68e86e8196165529f48a544ec90cbea840e04"
|
272
266
|
dependencies = [
|
273
267
|
"bon",
|
274
268
|
"caseless",
|
@@ -383,12 +377,13 @@ dependencies = [
|
|
383
377
|
|
384
378
|
[[package]]
|
385
379
|
name = "fancy-regex"
|
386
|
-
version = "0.
|
380
|
+
version = "0.16.2"
|
387
381
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
388
|
-
checksum = "
|
382
|
+
checksum = "998b056554fbe42e03ae0e152895cd1a7e1002aec800fdc6635d20270260c46f"
|
389
383
|
dependencies = [
|
390
384
|
"bit-set",
|
391
|
-
"regex",
|
385
|
+
"regex-automata",
|
386
|
+
"regex-syntax",
|
392
387
|
]
|
393
388
|
|
394
389
|
[[package]]
|
@@ -522,9 +517,9 @@ checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
|
|
522
517
|
|
523
518
|
[[package]]
|
524
519
|
name = "magnus"
|
525
|
-
version = "0.8.
|
520
|
+
version = "0.8.2"
|
526
521
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
527
|
-
checksum = "
|
522
|
+
checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
|
528
523
|
dependencies = [
|
529
524
|
"magnus-macros",
|
530
525
|
"rb-sys",
|
@@ -598,7 +593,7 @@ version = "6.5.1"
|
|
598
593
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
599
594
|
checksum = "336b9c63443aceef14bea841b899035ae3abe89b7c486aaf4c5bd8aafedac3f0"
|
600
595
|
dependencies = [
|
601
|
-
"bitflags
|
596
|
+
"bitflags",
|
602
597
|
"libc",
|
603
598
|
"once_cell",
|
604
599
|
"onig_sys",
|
@@ -771,7 +766,7 @@ version = "1.1.2"
|
|
771
766
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
772
767
|
checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
|
773
768
|
dependencies = [
|
774
|
-
"bitflags
|
769
|
+
"bitflags",
|
775
770
|
"errno",
|
776
771
|
"libc",
|
777
772
|
"linux-raw-sys",
|
@@ -894,12 +889,11 @@ dependencies = [
|
|
894
889
|
|
895
890
|
[[package]]
|
896
891
|
name = "syntect"
|
897
|
-
version = "5.
|
892
|
+
version = "5.3.0"
|
898
893
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
899
|
-
checksum = "
|
894
|
+
checksum = "656b45c05d95a5704399aeef6bd0ddec7b2b3531b7c9e900abbf7c4d2190c925"
|
900
895
|
dependencies = [
|
901
896
|
"bincode",
|
902
|
-
"bitflags 1.3.2",
|
903
897
|
"fancy-regex",
|
904
898
|
"flate2",
|
905
899
|
"fnv",
|
@@ -927,18 +921,18 @@ dependencies = [
|
|
927
921
|
|
928
922
|
[[package]]
|
929
923
|
name = "thiserror"
|
930
|
-
version = "
|
924
|
+
version = "2.0.17"
|
931
925
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
932
|
-
checksum = "
|
926
|
+
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
|
933
927
|
dependencies = [
|
934
928
|
"thiserror-impl",
|
935
929
|
]
|
936
930
|
|
937
931
|
[[package]]
|
938
932
|
name = "thiserror-impl"
|
939
|
-
version = "
|
933
|
+
version = "2.0.17"
|
940
934
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
941
|
-
checksum = "
|
935
|
+
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
|
942
936
|
dependencies = [
|
943
937
|
"proc-macro2",
|
944
938
|
"quote",
|
data/README.md
CHANGED
@@ -202,6 +202,7 @@ Commonmarker.to_html('"Hi *there*"', options: {
|
|
202
202
|
| `superscript` | Enables the superscript Comrak extension. | `false` |
|
203
203
|
| `header_ids` | Enables the header IDs Comrak extension. from the GFM spec. | `""` |
|
204
204
|
| `footnotes` | Enables the footnotes extension per `cmark-gfm`. | `false` |
|
205
|
+
| `inline_footnotes` | Enables the inline footnotes extension. | `false` |
|
205
206
|
| `description_lists` | Enables the description lists extension. | `false` |
|
206
207
|
| `front_matter_delimiter` | Enables the front matter extension. | `""` |
|
207
208
|
| `multiline_block_quotes` | Enables the multiline block quotes extension. | `false` |
|
data/ext/commonmarker/Cargo.toml
CHANGED
@@ -10,8 +10,8 @@ magnus = { version = "0.8", features = ["rb-sys"] }
|
|
10
10
|
rb-sys = { version = "*", default-features = false, features = [
|
11
11
|
"stable-api-compiled-fallback",
|
12
12
|
] }
|
13
|
-
comrak = { version = "0.
|
14
|
-
syntect = { version = "5.
|
13
|
+
comrak = { version = "0.44", features = ["shortcodes"] }
|
14
|
+
syntect = { version = "5.3", features = ["plist-load"] }
|
15
15
|
typed-arena = "2.0"
|
16
16
|
rctree = "0.6"
|
17
17
|
|
@@ -109,6 +109,7 @@ const EXTENSION_TASKLIST: &str = "tasklist";
|
|
109
109
|
const EXTENSION_SUPERSCRIPT: &str = "superscript";
|
110
110
|
const EXTENSION_HEADER_IDS: &str = "header_ids";
|
111
111
|
const EXTENSION_FOOTNOTES: &str = "footnotes";
|
112
|
+
const EXTENSION_INLINE_FOOTNOTES: &str = "inline_footnotes";
|
112
113
|
const EXTENSION_DESCRIPTION_LISTS: &str = "description_lists";
|
113
114
|
const EXTENSION_FRONT_MATTER_DELIMITER: &str = "front_matter_delimiter";
|
114
115
|
const EXTENSION_MULTILINE_BLOCK_QUOTES: &str = "multiline_block_quotes";
|
@@ -152,6 +153,9 @@ fn iterate_extension_options(comrak_options: &mut ComrakOptions, options_hash: R
|
|
152
153
|
Cow::Borrowed(EXTENSION_FOOTNOTES) => {
|
153
154
|
comrak_options.extension.footnotes = TryConvert::try_convert(value)?;
|
154
155
|
}
|
156
|
+
Cow::Borrowed(EXTENSION_INLINE_FOOTNOTES) => {
|
157
|
+
comrak_options.extension.inline_footnotes = TryConvert::try_convert(value)?;
|
158
|
+
}
|
155
159
|
Cow::Borrowed(EXTENSION_DESCRIPTION_LISTS) => {
|
156
160
|
comrak_options.extension.description_lists = TryConvert::try_convert(value)?;
|
157
161
|
}
|
data/lib/commonmarker/config.rb
CHANGED
data/lib/commonmarker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commonmarker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
- Ashe Connor
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|