commonmarker 1.1.0 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d30b2618d4b982b55e05eaa0cf53b7cbd87fbc38a643c1ee937e21184f15d0b7
4
- data.tar.gz: 0bafeaf22b6a84423e437dcd8b4d0ba3b5beadd25868f67d61e31fd70152feea
3
+ metadata.gz: 0ea9527eceec73a2bab7247ca87911f0f41d0d24ed4615e21ee314e2f3d6bc2d
4
+ data.tar.gz: 6f66c38930a2d218b6295a5f689619691975b93a03074978e0751a74592c3613
5
5
  SHA512:
6
- metadata.gz: 2d183a2725c73d2c9c2464d780599694566eeaa15736a90db20035977393200c4e1e67e03c1194afb83e60b27e7ddd7fa4052abd2a09015663aa3736e0cd8509
7
- data.tar.gz: 15dac96c9f6797553d743829058e0c3ec3bbed065987be0b534534700b71b7c057027bb2bcaacf912b99eccfc9f191663002653c8313a82d4e7a943b35e54cea
6
+ metadata.gz: 4cc98dc04146e884b0b91e62d53b56cdc1fb2a1739705a18a523015a44d88b85550264c7d008bff5ba0262cd2ac9e09d014e8bec190a195c5d88ce4ab61eddd1
7
+ data.tar.gz: 29ddab6152567bff92f769b70bb5be476a4bda05202c03fd8b0a3b3eef2754e32524f854d19db73e530349b742de242419bc27192dcac0eee1a1eb8412b83460
data/Cargo.lock CHANGED
@@ -10,18 +10,18 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
10
10
 
11
11
  [[package]]
12
12
  name = "aho-corasick"
13
- version = "1.1.2"
13
+ version = "1.1.3"
14
14
  source = "registry+https://github.com/rust-lang/crates.io-index"
15
- checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
15
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
16
16
  dependencies = [
17
17
  "memchr",
18
18
  ]
19
19
 
20
20
  [[package]]
21
21
  name = "anstream"
22
- version = "0.6.5"
22
+ version = "0.6.13"
23
23
  source = "registry+https://github.com/rust-lang/crates.io-index"
24
- checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6"
24
+ checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb"
25
25
  dependencies = [
26
26
  "anstyle",
27
27
  "anstyle-parse",
@@ -33,9 +33,9 @@ dependencies = [
33
33
 
34
34
  [[package]]
35
35
  name = "anstyle"
36
- version = "1.0.4"
36
+ version = "1.0.6"
37
37
  source = "registry+https://github.com/rust-lang/crates.io-index"
38
- checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
38
+ checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
39
39
 
40
40
  [[package]]
41
41
  name = "anstyle-parse"
@@ -67,9 +67,9 @@ dependencies = [
67
67
 
68
68
  [[package]]
69
69
  name = "base64"
70
- version = "0.21.5"
70
+ version = "0.21.7"
71
71
  source = "registry+https://github.com/rust-lang/crates.io-index"
72
- checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9"
72
+ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
73
73
 
74
74
  [[package]]
75
75
  name = "bincode"
@@ -82,22 +82,22 @@ dependencies = [
82
82
 
83
83
  [[package]]
84
84
  name = "bindgen"
85
- version = "0.69.1"
85
+ version = "0.69.4"
86
86
  source = "registry+https://github.com/rust-lang/crates.io-index"
87
- checksum = "9ffcebc3849946a7170a05992aac39da343a90676ab392c51a4280981d6379c2"
87
+ checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
88
88
  dependencies = [
89
- "bitflags 2.4.1",
89
+ "bitflags 2.5.0",
90
90
  "cexpr",
91
91
  "clang-sys",
92
+ "itertools",
92
93
  "lazy_static",
93
94
  "lazycell",
94
- "peeking_take_while",
95
95
  "proc-macro2",
96
96
  "quote",
97
97
  "regex",
98
98
  "rustc-hash",
99
99
  "shlex",
100
- "syn 2.0.43",
100
+ "syn 2.0.60",
101
101
  ]
102
102
 
103
103
  [[package]]
@@ -123,24 +123,21 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
123
123
 
124
124
  [[package]]
125
125
  name = "bitflags"
126
- version = "2.4.1"
126
+ version = "2.5.0"
127
127
  source = "registry+https://github.com/rust-lang/crates.io-index"
128
- checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
128
+ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
129
129
 
130
130
  [[package]]
131
131
  name = "bumpalo"
132
- version = "3.14.0"
132
+ version = "3.16.0"
133
133
  source = "registry+https://github.com/rust-lang/crates.io-index"
134
- checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
134
+ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
135
135
 
136
136
  [[package]]
137
137
  name = "cc"
138
- version = "1.0.83"
138
+ version = "1.0.96"
139
139
  source = "registry+https://github.com/rust-lang/crates.io-index"
140
- checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
141
- dependencies = [
142
- "libc",
143
- ]
140
+ checksum = "065a29261d53ba54260972629f9ca6bffa69bac13cd1fed61420f7fa68b9f8bd"
144
141
 
145
142
  [[package]]
146
143
  name = "cexpr"
@@ -159,9 +156,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
159
156
 
160
157
  [[package]]
161
158
  name = "clang-sys"
162
- version = "1.6.1"
159
+ version = "1.7.0"
163
160
  source = "registry+https://github.com/rust-lang/crates.io-index"
164
- checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
161
+ checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1"
165
162
  dependencies = [
166
163
  "glob",
167
164
  "libc",
@@ -170,9 +167,9 @@ dependencies = [
170
167
 
171
168
  [[package]]
172
169
  name = "clap"
173
- version = "4.4.12"
170
+ version = "4.5.4"
174
171
  source = "registry+https://github.com/rust-lang/crates.io-index"
175
- checksum = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d"
172
+ checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0"
176
173
  dependencies = [
177
174
  "clap_builder",
178
175
  "clap_derive",
@@ -180,34 +177,34 @@ dependencies = [
180
177
 
181
178
  [[package]]
182
179
  name = "clap_builder"
183
- version = "4.4.12"
180
+ version = "4.5.2"
184
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
185
- checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9"
182
+ checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4"
186
183
  dependencies = [
187
184
  "anstream",
188
185
  "anstyle",
189
186
  "clap_lex",
190
- "strsim",
187
+ "strsim 0.11.1",
191
188
  "terminal_size",
192
189
  ]
193
190
 
194
191
  [[package]]
195
192
  name = "clap_derive"
196
- version = "4.4.7"
193
+ version = "4.5.4"
197
194
  source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442"
195
+ checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64"
199
196
  dependencies = [
200
197
  "heck",
201
198
  "proc-macro2",
202
199
  "quote",
203
- "syn 2.0.43",
200
+ "syn 2.0.60",
204
201
  ]
205
202
 
206
203
  [[package]]
207
204
  name = "clap_lex"
208
- version = "0.6.0"
205
+ version = "0.7.0"
209
206
  source = "registry+https://github.com/rust-lang/crates.io-index"
210
- checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1"
207
+ checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
211
208
 
212
209
  [[package]]
213
210
  name = "colorchoice"
@@ -221,6 +218,7 @@ version = "1.0.0"
221
218
  dependencies = [
222
219
  "comrak",
223
220
  "magnus",
221
+ "rb-sys",
224
222
  "rctree",
225
223
  "syntect",
226
224
  "typed-arena",
@@ -250,9 +248,9 @@ dependencies = [
250
248
 
251
249
  [[package]]
252
250
  name = "crc32fast"
253
- version = "1.3.2"
251
+ version = "1.4.0"
254
252
  source = "registry+https://github.com/rust-lang/crates.io-index"
255
- checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
253
+ checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa"
256
254
  dependencies = [
257
255
  "cfg-if",
258
256
  ]
@@ -277,7 +275,7 @@ dependencies = [
277
275
  "ident_case",
278
276
  "proc-macro2",
279
277
  "quote",
280
- "strsim",
278
+ "strsim 0.10.0",
281
279
  "syn 1.0.109",
282
280
  ]
283
281
 
@@ -294,9 +292,9 @@ dependencies = [
294
292
 
295
293
  [[package]]
296
294
  name = "deranged"
297
- version = "0.3.10"
295
+ version = "0.3.11"
298
296
  source = "registry+https://github.com/rust-lang/crates.io-index"
299
- checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc"
297
+ checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
300
298
  dependencies = [
301
299
  "powerfmt",
302
300
  ]
@@ -334,9 +332,15 @@ dependencies = [
334
332
 
335
333
  [[package]]
336
334
  name = "deunicode"
337
- version = "1.4.2"
335
+ version = "1.4.4"
336
+ source = "registry+https://github.com/rust-lang/crates.io-index"
337
+ checksum = "322ef0094744e63628e6f0eb2295517f79276a5b342a4c2ff3042566ca181d4e"
338
+
339
+ [[package]]
340
+ name = "either"
341
+ version = "1.11.0"
338
342
  source = "registry+https://github.com/rust-lang/crates.io-index"
339
- checksum = "3ae2a35373c5c74340b79ae6780b498b2b183915ec5dacf263aac5a099bf485a"
343
+ checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2"
340
344
 
341
345
  [[package]]
342
346
  name = "emojis"
@@ -387,9 +391,9 @@ checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
387
391
 
388
392
  [[package]]
389
393
  name = "flate2"
390
- version = "1.0.28"
394
+ version = "1.0.30"
391
395
  source = "registry+https://github.com/rust-lang/crates.io-index"
392
- checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
396
+ checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae"
393
397
  dependencies = [
394
398
  "crc32fast",
395
399
  "miniz_oxide",
@@ -409,15 +413,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
409
413
 
410
414
  [[package]]
411
415
  name = "hashbrown"
412
- version = "0.14.3"
416
+ version = "0.14.5"
413
417
  source = "registry+https://github.com/rust-lang/crates.io-index"
414
- checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
418
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
415
419
 
416
420
  [[package]]
417
421
  name = "heck"
418
- version = "0.4.1"
422
+ version = "0.5.0"
419
423
  source = "registry+https://github.com/rust-lang/crates.io-index"
420
- checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
424
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
421
425
 
422
426
  [[package]]
423
427
  name = "ident_case"
@@ -436,19 +440,28 @@ dependencies = [
436
440
 
437
441
  [[package]]
438
442
  name = "indexmap"
439
- version = "2.1.0"
443
+ version = "2.2.6"
440
444
  source = "registry+https://github.com/rust-lang/crates.io-index"
441
- checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f"
445
+ checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
442
446
  dependencies = [
443
447
  "equivalent",
444
448
  "hashbrown",
445
449
  ]
446
450
 
451
+ [[package]]
452
+ name = "itertools"
453
+ version = "0.12.1"
454
+ source = "registry+https://github.com/rust-lang/crates.io-index"
455
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
456
+ dependencies = [
457
+ "either",
458
+ ]
459
+
447
460
  [[package]]
448
461
  name = "itoa"
449
- version = "1.0.10"
462
+ version = "1.0.11"
450
463
  source = "registry+https://github.com/rust-lang/crates.io-index"
451
- checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
464
+ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
452
465
 
453
466
  [[package]]
454
467
  name = "lazy_static"
@@ -470,22 +483,19 @@ checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346"
470
483
 
471
484
  [[package]]
472
485
  name = "libloading"
473
- version = "0.7.4"
486
+ version = "0.8.3"
474
487
  source = "registry+https://github.com/rust-lang/crates.io-index"
475
- checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
488
+ checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
476
489
  dependencies = [
477
490
  "cfg-if",
478
- "winapi",
491
+ "windows-targets 0.52.5",
479
492
  ]
480
493
 
481
494
  [[package]]
482
495
  name = "line-wrap"
483
- version = "0.1.1"
496
+ version = "0.2.0"
484
497
  source = "registry+https://github.com/rust-lang/crates.io-index"
485
- checksum = "f30344350a2a51da54c1d53be93fade8a237e545dbcc4bdbe635413f2117cab9"
486
- dependencies = [
487
- "safemem",
488
- ]
498
+ checksum = "dd1bc4d24ad230d21fb898d1116b1801d7adfc449d42026475862ab48b11e70e"
489
499
 
490
500
  [[package]]
491
501
  name = "linked-hash-map"
@@ -495,15 +505,15 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
495
505
 
496
506
  [[package]]
497
507
  name = "linux-raw-sys"
498
- version = "0.4.12"
508
+ version = "0.4.13"
499
509
  source = "registry+https://github.com/rust-lang/crates.io-index"
500
- checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456"
510
+ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
501
511
 
502
512
  [[package]]
503
513
  name = "log"
504
- version = "0.4.20"
514
+ version = "0.4.21"
505
515
  source = "registry+https://github.com/rust-lang/crates.io-index"
506
- checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
516
+ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
507
517
 
508
518
  [[package]]
509
519
  name = "magnus"
@@ -525,14 +535,14 @@ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
525
535
  dependencies = [
526
536
  "proc-macro2",
527
537
  "quote",
528
- "syn 2.0.43",
538
+ "syn 2.0.60",
529
539
  ]
530
540
 
531
541
  [[package]]
532
542
  name = "memchr"
533
- version = "2.6.4"
543
+ version = "2.7.2"
534
544
  source = "registry+https://github.com/rust-lang/crates.io-index"
535
- checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
545
+ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
536
546
 
537
547
  [[package]]
538
548
  name = "minimal-lexical"
@@ -542,9 +552,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
542
552
 
543
553
  [[package]]
544
554
  name = "miniz_oxide"
545
- version = "0.7.1"
555
+ version = "0.7.2"
546
556
  source = "registry+https://github.com/rust-lang/crates.io-index"
547
- checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
557
+ checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
548
558
  dependencies = [
549
559
  "adler",
550
560
  ]
@@ -559,6 +569,12 @@ dependencies = [
559
569
  "minimal-lexical",
560
570
  ]
561
571
 
572
+ [[package]]
573
+ name = "num-conv"
574
+ version = "0.1.0"
575
+ source = "registry+https://github.com/rust-lang/crates.io-index"
576
+ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
577
+
562
578
  [[package]]
563
579
  name = "once_cell"
564
580
  version = "1.19.0"
@@ -587,12 +603,6 @@ dependencies = [
587
603
  "pkg-config",
588
604
  ]
589
605
 
590
- [[package]]
591
- name = "peeking_take_while"
592
- version = "0.1.2"
593
- source = "registry+https://github.com/rust-lang/crates.io-index"
594
- checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
595
-
596
606
  [[package]]
597
607
  name = "phf"
598
608
  version = "0.11.2"
@@ -613,15 +623,15 @@ dependencies = [
613
623
 
614
624
  [[package]]
615
625
  name = "pkg-config"
616
- version = "0.3.28"
626
+ version = "0.3.30"
617
627
  source = "registry+https://github.com/rust-lang/crates.io-index"
618
- checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a"
628
+ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
619
629
 
620
630
  [[package]]
621
631
  name = "plist"
622
- version = "1.6.0"
632
+ version = "1.6.1"
623
633
  source = "registry+https://github.com/rust-lang/crates.io-index"
624
- checksum = "e5699cc8a63d1aa2b1ee8e12b9ad70ac790d65788cd36101fa37f87ea46c4cef"
634
+ checksum = "d9d34169e64b3c7a80c8621a48adaf44e0cf62c78a9b25dd9dd35f1881a17cf9"
625
635
  dependencies = [
626
636
  "base64",
627
637
  "indexmap",
@@ -639,9 +649,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
639
649
 
640
650
  [[package]]
641
651
  name = "proc-macro2"
642
- version = "1.0.71"
652
+ version = "1.0.81"
643
653
  source = "registry+https://github.com/rust-lang/crates.io-index"
644
- checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8"
654
+ checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba"
645
655
  dependencies = [
646
656
  "unicode-ident",
647
657
  ]
@@ -657,27 +667,27 @@ dependencies = [
657
667
 
658
668
  [[package]]
659
669
  name = "quote"
660
- version = "1.0.33"
670
+ version = "1.0.36"
661
671
  source = "registry+https://github.com/rust-lang/crates.io-index"
662
- checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
672
+ checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
663
673
  dependencies = [
664
674
  "proc-macro2",
665
675
  ]
666
676
 
667
677
  [[package]]
668
678
  name = "rb-sys"
669
- version = "0.9.85"
679
+ version = "0.9.97"
670
680
  source = "registry+https://github.com/rust-lang/crates.io-index"
671
- checksum = "05b780e6858b0b0eced1d55d0f097c024b77a37b41f83bd35341130f78e37c51"
681
+ checksum = "47d30bcad206b51f2f66121190ca678dce1fdf3a2eae0ac5d838d1818b19bdf5"
672
682
  dependencies = [
673
683
  "rb-sys-build",
674
684
  ]
675
685
 
676
686
  [[package]]
677
687
  name = "rb-sys-build"
678
- version = "0.9.85"
688
+ version = "0.9.97"
679
689
  source = "registry+https://github.com/rust-lang/crates.io-index"
680
- checksum = "44957a3bc513dad1b0f20bdd0ee3b82e729a59da44086a6b40d8bc71958a6db8"
690
+ checksum = "3cbd92f281615f3c2dcb9dcb0f0576624752afbf9a7f99173b37c4b55b62dd8a"
681
691
  dependencies = [
682
692
  "bindgen",
683
693
  "lazy_static",
@@ -685,7 +695,7 @@ dependencies = [
685
695
  "quote",
686
696
  "regex",
687
697
  "shell-words",
688
- "syn 2.0.43",
698
+ "syn 2.0.60",
689
699
  ]
690
700
 
691
701
  [[package]]
@@ -702,9 +712,9 @@ checksum = "e03e7866abec1101869ffa8e2c8355c4c2419d0214ece0cc3e428e5b94dea6e9"
702
712
 
703
713
  [[package]]
704
714
  name = "regex"
705
- version = "1.10.2"
715
+ version = "1.10.4"
706
716
  source = "registry+https://github.com/rust-lang/crates.io-index"
707
- checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
717
+ checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
708
718
  dependencies = [
709
719
  "aho-corasick",
710
720
  "memchr",
@@ -714,9 +724,9 @@ dependencies = [
714
724
 
715
725
  [[package]]
716
726
  name = "regex-automata"
717
- version = "0.4.3"
727
+ version = "0.4.6"
718
728
  source = "registry+https://github.com/rust-lang/crates.io-index"
719
- checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
729
+ checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
720
730
  dependencies = [
721
731
  "aho-corasick",
722
732
  "memchr",
@@ -725,9 +735,9 @@ dependencies = [
725
735
 
726
736
  [[package]]
727
737
  name = "regex-syntax"
728
- version = "0.8.2"
738
+ version = "0.8.3"
729
739
  source = "registry+https://github.com/rust-lang/crates.io-index"
730
- checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
740
+ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
731
741
 
732
742
  [[package]]
733
743
  name = "rustc-hash"
@@ -741,7 +751,7 @@ version = "0.38.34"
741
751
  source = "registry+https://github.com/rust-lang/crates.io-index"
742
752
  checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
743
753
  dependencies = [
744
- "bitflags 2.4.1",
754
+ "bitflags 2.5.0",
745
755
  "errno",
746
756
  "libc",
747
757
  "linux-raw-sys",
@@ -750,15 +760,9 @@ dependencies = [
750
760
 
751
761
  [[package]]
752
762
  name = "ryu"
753
- version = "1.0.16"
763
+ version = "1.0.17"
754
764
  source = "registry+https://github.com/rust-lang/crates.io-index"
755
- checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
756
-
757
- [[package]]
758
- name = "safemem"
759
- version = "0.3.3"
760
- source = "registry+https://github.com/rust-lang/crates.io-index"
761
- checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
765
+ checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
762
766
 
763
767
  [[package]]
764
768
  name = "same-file"
@@ -777,29 +781,29 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
777
781
 
778
782
  [[package]]
779
783
  name = "serde"
780
- version = "1.0.193"
784
+ version = "1.0.200"
781
785
  source = "registry+https://github.com/rust-lang/crates.io-index"
782
- checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
786
+ checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f"
783
787
  dependencies = [
784
788
  "serde_derive",
785
789
  ]
786
790
 
787
791
  [[package]]
788
792
  name = "serde_derive"
789
- version = "1.0.193"
793
+ version = "1.0.200"
790
794
  source = "registry+https://github.com/rust-lang/crates.io-index"
791
- checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
795
+ checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb"
792
796
  dependencies = [
793
797
  "proc-macro2",
794
798
  "quote",
795
- "syn 2.0.43",
799
+ "syn 2.0.60",
796
800
  ]
797
801
 
798
802
  [[package]]
799
803
  name = "serde_json"
800
- version = "1.0.108"
804
+ version = "1.0.116"
801
805
  source = "registry+https://github.com/rust-lang/crates.io-index"
802
- checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b"
806
+ checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813"
803
807
  dependencies = [
804
808
  "itoa",
805
809
  "ryu",
@@ -840,6 +844,12 @@ version = "0.10.0"
840
844
  source = "registry+https://github.com/rust-lang/crates.io-index"
841
845
  checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
842
846
 
847
+ [[package]]
848
+ name = "strsim"
849
+ version = "0.11.1"
850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
851
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
852
+
843
853
  [[package]]
844
854
  name = "syn"
845
855
  version = "1.0.109"
@@ -853,9 +863,9 @@ dependencies = [
853
863
 
854
864
  [[package]]
855
865
  name = "syn"
856
- version = "2.0.43"
866
+ version = "2.0.60"
857
867
  source = "registry+https://github.com/rust-lang/crates.io-index"
858
- checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53"
868
+ checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3"
859
869
  dependencies = [
860
870
  "proc-macro2",
861
871
  "quote",
@@ -909,32 +919,33 @@ dependencies = [
909
919
 
910
920
  [[package]]
911
921
  name = "thiserror"
912
- version = "1.0.52"
922
+ version = "1.0.59"
913
923
  source = "registry+https://github.com/rust-lang/crates.io-index"
914
- checksum = "83a48fd946b02c0a526b2e9481c8e2a17755e47039164a86c4070446e3a4614d"
924
+ checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa"
915
925
  dependencies = [
916
926
  "thiserror-impl",
917
927
  ]
918
928
 
919
929
  [[package]]
920
930
  name = "thiserror-impl"
921
- version = "1.0.52"
931
+ version = "1.0.59"
922
932
  source = "registry+https://github.com/rust-lang/crates.io-index"
923
- checksum = "e7fbe9b594d6568a6a1443250a7e67d80b74e1e96f6d1715e1e21cc1888291d3"
933
+ checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66"
924
934
  dependencies = [
925
935
  "proc-macro2",
926
936
  "quote",
927
- "syn 2.0.43",
937
+ "syn 2.0.60",
928
938
  ]
929
939
 
930
940
  [[package]]
931
941
  name = "time"
932
- version = "0.3.31"
942
+ version = "0.3.36"
933
943
  source = "registry+https://github.com/rust-lang/crates.io-index"
934
- checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e"
944
+ checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
935
945
  dependencies = [
936
946
  "deranged",
937
947
  "itoa",
948
+ "num-conv",
938
949
  "powerfmt",
939
950
  "serde",
940
951
  "time-core",
@@ -949,10 +960,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
949
960
 
950
961
  [[package]]
951
962
  name = "time-macros"
952
- version = "0.2.16"
963
+ version = "0.2.18"
953
964
  source = "registry+https://github.com/rust-lang/crates.io-index"
954
- checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f"
965
+ checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
955
966
  dependencies = [
967
+ "num-conv",
956
968
  "time-core",
957
969
  ]
958
970
 
@@ -982,9 +994,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
982
994
 
983
995
  [[package]]
984
996
  name = "walkdir"
985
- version = "2.4.0"
997
+ version = "2.5.0"
986
998
  source = "registry+https://github.com/rust-lang/crates.io-index"
987
- checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee"
999
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
988
1000
  dependencies = [
989
1001
  "same-file",
990
1002
  "winapi-util",
@@ -992,9 +1004,9 @@ dependencies = [
992
1004
 
993
1005
  [[package]]
994
1006
  name = "wasm-bindgen"
995
- version = "0.2.89"
1007
+ version = "0.2.92"
996
1008
  source = "registry+https://github.com/rust-lang/crates.io-index"
997
- checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e"
1009
+ checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
998
1010
  dependencies = [
999
1011
  "cfg-if",
1000
1012
  "wasm-bindgen-macro",
@@ -1002,24 +1014,24 @@ dependencies = [
1002
1014
 
1003
1015
  [[package]]
1004
1016
  name = "wasm-bindgen-backend"
1005
- version = "0.2.89"
1017
+ version = "0.2.92"
1006
1018
  source = "registry+https://github.com/rust-lang/crates.io-index"
1007
- checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826"
1019
+ checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
1008
1020
  dependencies = [
1009
1021
  "bumpalo",
1010
1022
  "log",
1011
1023
  "once_cell",
1012
1024
  "proc-macro2",
1013
1025
  "quote",
1014
- "syn 2.0.43",
1026
+ "syn 2.0.60",
1015
1027
  "wasm-bindgen-shared",
1016
1028
  ]
1017
1029
 
1018
1030
  [[package]]
1019
1031
  name = "wasm-bindgen-macro"
1020
- version = "0.2.89"
1032
+ version = "0.2.92"
1021
1033
  source = "registry+https://github.com/rust-lang/crates.io-index"
1022
- checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2"
1034
+ checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
1023
1035
  dependencies = [
1024
1036
  "quote",
1025
1037
  "wasm-bindgen-macro-support",
@@ -1027,54 +1039,32 @@ dependencies = [
1027
1039
 
1028
1040
  [[package]]
1029
1041
  name = "wasm-bindgen-macro-support"
1030
- version = "0.2.89"
1042
+ version = "0.2.92"
1031
1043
  source = "registry+https://github.com/rust-lang/crates.io-index"
1032
- checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
1044
+ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
1033
1045
  dependencies = [
1034
1046
  "proc-macro2",
1035
1047
  "quote",
1036
- "syn 2.0.43",
1048
+ "syn 2.0.60",
1037
1049
  "wasm-bindgen-backend",
1038
1050
  "wasm-bindgen-shared",
1039
1051
  ]
1040
1052
 
1041
1053
  [[package]]
1042
1054
  name = "wasm-bindgen-shared"
1043
- version = "0.2.89"
1044
- source = "registry+https://github.com/rust-lang/crates.io-index"
1045
- checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f"
1046
-
1047
- [[package]]
1048
- name = "winapi"
1049
- version = "0.3.9"
1050
- source = "registry+https://github.com/rust-lang/crates.io-index"
1051
- checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1052
- dependencies = [
1053
- "winapi-i686-pc-windows-gnu",
1054
- "winapi-x86_64-pc-windows-gnu",
1055
- ]
1056
-
1057
- [[package]]
1058
- name = "winapi-i686-pc-windows-gnu"
1059
- version = "0.4.0"
1055
+ version = "0.2.92"
1060
1056
  source = "registry+https://github.com/rust-lang/crates.io-index"
1061
- checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1057
+ checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
1062
1058
 
1063
1059
  [[package]]
1064
1060
  name = "winapi-util"
1065
- version = "0.1.6"
1061
+ version = "0.1.8"
1066
1062
  source = "registry+https://github.com/rust-lang/crates.io-index"
1067
- checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
1063
+ checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b"
1068
1064
  dependencies = [
1069
- "winapi",
1065
+ "windows-sys 0.52.0",
1070
1066
  ]
1071
1067
 
1072
- [[package]]
1073
- name = "winapi-x86_64-pc-windows-gnu"
1074
- version = "0.4.0"
1075
- source = "registry+https://github.com/rust-lang/crates.io-index"
1076
- checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1077
-
1078
1068
  [[package]]
1079
1069
  name = "windows-sys"
1080
1070
  version = "0.48.0"
@@ -1090,7 +1080,7 @@ version = "0.52.0"
1090
1080
  source = "registry+https://github.com/rust-lang/crates.io-index"
1091
1081
  checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
1092
1082
  dependencies = [
1093
- "windows-targets 0.52.0",
1083
+ "windows-targets 0.52.5",
1094
1084
  ]
1095
1085
 
1096
1086
  [[package]]
@@ -1110,17 +1100,18 @@ dependencies = [
1110
1100
 
1111
1101
  [[package]]
1112
1102
  name = "windows-targets"
1113
- version = "0.52.0"
1103
+ version = "0.52.5"
1114
1104
  source = "registry+https://github.com/rust-lang/crates.io-index"
1115
- checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
1105
+ checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
1116
1106
  dependencies = [
1117
- "windows_aarch64_gnullvm 0.52.0",
1118
- "windows_aarch64_msvc 0.52.0",
1119
- "windows_i686_gnu 0.52.0",
1120
- "windows_i686_msvc 0.52.0",
1121
- "windows_x86_64_gnu 0.52.0",
1122
- "windows_x86_64_gnullvm 0.52.0",
1123
- "windows_x86_64_msvc 0.52.0",
1107
+ "windows_aarch64_gnullvm 0.52.5",
1108
+ "windows_aarch64_msvc 0.52.5",
1109
+ "windows_i686_gnu 0.52.5",
1110
+ "windows_i686_gnullvm",
1111
+ "windows_i686_msvc 0.52.5",
1112
+ "windows_x86_64_gnu 0.52.5",
1113
+ "windows_x86_64_gnullvm 0.52.5",
1114
+ "windows_x86_64_msvc 0.52.5",
1124
1115
  ]
1125
1116
 
1126
1117
  [[package]]
@@ -1131,9 +1122,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
1131
1122
 
1132
1123
  [[package]]
1133
1124
  name = "windows_aarch64_gnullvm"
1134
- version = "0.52.0"
1125
+ version = "0.52.5"
1135
1126
  source = "registry+https://github.com/rust-lang/crates.io-index"
1136
- checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
1127
+ checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
1137
1128
 
1138
1129
  [[package]]
1139
1130
  name = "windows_aarch64_msvc"
@@ -1143,9 +1134,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
1143
1134
 
1144
1135
  [[package]]
1145
1136
  name = "windows_aarch64_msvc"
1146
- version = "0.52.0"
1137
+ version = "0.52.5"
1147
1138
  source = "registry+https://github.com/rust-lang/crates.io-index"
1148
- checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
1139
+ checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
1149
1140
 
1150
1141
  [[package]]
1151
1142
  name = "windows_i686_gnu"
@@ -1155,9 +1146,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
1155
1146
 
1156
1147
  [[package]]
1157
1148
  name = "windows_i686_gnu"
1158
- version = "0.52.0"
1149
+ version = "0.52.5"
1159
1150
  source = "registry+https://github.com/rust-lang/crates.io-index"
1160
- checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
1151
+ checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
1152
+
1153
+ [[package]]
1154
+ name = "windows_i686_gnullvm"
1155
+ version = "0.52.5"
1156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1157
+ checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
1161
1158
 
1162
1159
  [[package]]
1163
1160
  name = "windows_i686_msvc"
@@ -1167,9 +1164,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1167
1164
 
1168
1165
  [[package]]
1169
1166
  name = "windows_i686_msvc"
1170
- version = "0.52.0"
1167
+ version = "0.52.5"
1171
1168
  source = "registry+https://github.com/rust-lang/crates.io-index"
1172
- checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
1169
+ checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
1173
1170
 
1174
1171
  [[package]]
1175
1172
  name = "windows_x86_64_gnu"
@@ -1179,9 +1176,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1179
1176
 
1180
1177
  [[package]]
1181
1178
  name = "windows_x86_64_gnu"
1182
- version = "0.52.0"
1179
+ version = "0.52.5"
1183
1180
  source = "registry+https://github.com/rust-lang/crates.io-index"
1184
- checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
1181
+ checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
1185
1182
 
1186
1183
  [[package]]
1187
1184
  name = "windows_x86_64_gnullvm"
@@ -1191,9 +1188,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1191
1188
 
1192
1189
  [[package]]
1193
1190
  name = "windows_x86_64_gnullvm"
1194
- version = "0.52.0"
1191
+ version = "0.52.5"
1195
1192
  source = "registry+https://github.com/rust-lang/crates.io-index"
1196
- checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
1193
+ checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
1197
1194
 
1198
1195
  [[package]]
1199
1196
  name = "windows_x86_64_msvc"
@@ -1203,9 +1200,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1203
1200
 
1204
1201
  [[package]]
1205
1202
  name = "windows_x86_64_msvc"
1206
- version = "0.52.0"
1203
+ version = "0.52.5"
1207
1204
  source = "registry+https://github.com/rust-lang/crates.io-index"
1208
- checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
1205
+ checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
1209
1206
 
1210
1207
  [[package]]
1211
1208
  name = "xdg"
@@ -6,7 +6,10 @@ rust-version = "1.75.0"
6
6
  publish = false
7
7
 
8
8
  [dependencies]
9
- magnus = "0.6"
9
+ magnus = { version = "0.6", features = ["rb-sys"] }
10
+ rb-sys = { version = "*", default-features = false, features = [
11
+ "stable-api-compiled-fallback",
12
+ ] }
10
13
  comrak = { version = "0.23", features = ["shortcodes"] }
11
14
  syntect = { version = "5.2", features = ["plist-load"] }
12
15
  typed-arena = "2.0"
@@ -669,6 +669,14 @@ impl CommonmarkerNode {
669
669
  fn get_string_content(&self) -> Result<String, magnus::Error> {
670
670
  let node = self.inner.borrow();
671
671
 
672
+ match node.data.value {
673
+ ComrakNodeValue::Code(ref code) => return Ok(code.literal.to_string()),
674
+ ComrakNodeValue::CodeBlock(ref code_block) => {
675
+ return Ok(code_block.literal.to_string())
676
+ }
677
+ _ => {}
678
+ }
679
+
672
680
  match node.data.value.text() {
673
681
  Some(s) => Ok(s.to_string()),
674
682
  None => Err(magnus::Error::new(
@@ -681,6 +689,18 @@ impl CommonmarkerNode {
681
689
  fn set_string_content(&self, new_content: String) -> Result<bool, magnus::Error> {
682
690
  let mut node = self.inner.borrow_mut();
683
691
 
692
+ match node.data.value {
693
+ ComrakNodeValue::Code(ref mut code) => {
694
+ code.literal = new_content;
695
+ return Ok(true);
696
+ }
697
+ ComrakNodeValue::CodeBlock(ref mut code_block) => {
698
+ code_block.literal = new_content;
699
+ return Ok(true);
700
+ }
701
+ _ => {}
702
+ }
703
+
684
704
  match node.data.value.text_mut() {
685
705
  Some(s) => {
686
706
  *s = new_content;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Commonmarker
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmarker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-04-30 00:00:00.000000000 Z
12
+ date: 2024-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb_sys
@@ -98,9 +98,9 @@ require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 3.1.0
103
+ version: '3.1'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="