gitlab-glfm-markdown 0.0.29-x86_64-linux-musl → 0.0.31-x86_64-linux-musl

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9313696427bd6e40d019093170faf33a3d53fcadac38f52c9e815a2265921114
4
- data.tar.gz: 03a98f9f5e3fc680b706297d0b948a864b08d3afd88ded6f9f3dfef1c98acd3d
3
+ metadata.gz: 9171fa682024188c9f6b15779305f19137b21b77ee26c77000ef5ab2a0fb919d
4
+ data.tar.gz: b6c6b020b80af2ea810765a58a2e423feec3f2c423ded7c1b007fcfb9eb3e9d2
5
5
  SHA512:
6
- metadata.gz: 32b9a86b1e84aaa14edeeaefffa59e3a868d68acbe3c62e52db7658987f13c22fea638a4eef33058e3ac607d4aaab0c25ddc74f8d093f751e645fa870517a1c4
7
- data.tar.gz: 4adcbcf6d1c36bd27bd3436e141eb6d9f948a4b63c04334db5d508abea760acd03995f1e52a2c54d4c1abdd87c479d0ba6fab0de3da33d1729916120bd396bd7
6
+ metadata.gz: f46535333ec94ecc26db4f74ce50e933651900b5b3b0e69e8fe745a213ee949a2ffa8465934c4b9325fd96ad078c163b97e786b87f3c0d2b8322e3a19e6507ad
7
+ data.tar.gz: 54308f878d4bcb0c1b53466c046451613b90a673b66f4a2c32091c37ae6165f51e2327ddfd0ebe771ad26d08085ba4acc567b003179584c828eb14b749c976ae
data/Cargo.lock CHANGED
@@ -181,9 +181,9 @@ dependencies = [
181
181
 
182
182
  [[package]]
183
183
  name = "clap"
184
- version = "4.5.27"
184
+ version = "4.4.18"
185
185
  source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796"
186
+ checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c"
187
187
  dependencies = [
188
188
  "clap_builder",
189
189
  "clap_derive",
@@ -191,9 +191,9 @@ dependencies = [
191
191
 
192
192
  [[package]]
193
193
  name = "clap_builder"
194
- version = "4.5.27"
194
+ version = "4.4.18"
195
195
  source = "registry+https://github.com/rust-lang/crates.io-index"
196
- checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7"
196
+ checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7"
197
197
  dependencies = [
198
198
  "anstream",
199
199
  "anstyle",
@@ -203,9 +203,9 @@ dependencies = [
203
203
 
204
204
  [[package]]
205
205
  name = "clap_derive"
206
- version = "4.5.24"
206
+ version = "4.4.7"
207
207
  source = "registry+https://github.com/rust-lang/crates.io-index"
208
- checksum = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c"
208
+ checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442"
209
209
  dependencies = [
210
210
  "heck",
211
211
  "proc-macro2",
@@ -215,9 +215,9 @@ dependencies = [
215
215
 
216
216
  [[package]]
217
217
  name = "clap_lex"
218
- version = "0.7.4"
218
+ version = "0.6.0"
219
219
  source = "registry+https://github.com/rust-lang/crates.io-index"
220
- checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
220
+ checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1"
221
221
 
222
222
  [[package]]
223
223
  name = "colorchoice"
@@ -227,9 +227,9 @@ checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
227
227
 
228
228
  [[package]]
229
229
  name = "comrak"
230
- version = "0.38.0"
230
+ version = "0.39.0"
231
231
  source = "registry+https://github.com/rust-lang/crates.io-index"
232
- checksum = "f690706b5db081dccea6206d7f6d594bb9895599abea9d1a0539f13888781ae8"
232
+ checksum = "d5c834ca54c5a20588b358f34d1533b4b498ddb5fd979cec6b22d0e8867a2449"
233
233
  dependencies = [
234
234
  "caseless",
235
235
  "emojis",
@@ -320,12 +320,14 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
320
320
 
321
321
  [[package]]
322
322
  name = "glfm_markdown"
323
- version = "0.0.29"
323
+ version = "0.0.31"
324
324
  dependencies = [
325
325
  "clap",
326
326
  "comrak",
327
+ "lazy_static",
327
328
  "magnus",
328
329
  "rb-sys",
330
+ "regex",
329
331
  ]
330
332
 
331
333
  [[package]]
@@ -342,9 +344,9 @@ checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
342
344
 
343
345
  [[package]]
344
346
  name = "heck"
345
- version = "0.5.0"
347
+ version = "0.4.1"
346
348
  source = "registry+https://github.com/rust-lang/crates.io-index"
347
- checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
349
+ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
348
350
 
349
351
  [[package]]
350
352
  name = "indexmap"
@@ -729,9 +731,9 @@ dependencies = [
729
731
 
730
732
  [[package]]
731
733
  name = "strsim"
732
- version = "0.11.1"
734
+ version = "0.10.0"
733
735
  source = "registry+https://github.com/rust-lang/crates.io-index"
734
- checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
736
+ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
735
737
 
736
738
  [[package]]
737
739
  name = "syn"
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Implements GLFM (as used by GitLab) using the Rust-based markdown parser [comrak](https://github.com/kivikakk/comrak)
7
7
  and providing a Ruby interface.\
8
- _Currently using `comrak 0.38.0`_.
8
+ _Currently using `comrak 0.39.0`_.
9
9
 
10
10
  This project is still in constant flux, so interfaces and functionality can change at any time.
11
11
 
@@ -32,41 +32,43 @@ GLFMMarkdown.to_html('# header', options: { sourcepos: true })
32
32
 
33
33
  ### Options
34
34
 
35
- | Option name | Description |
36
- |---------------------------------|---------------------------------------------------------------------------------------|
37
- | `autolink` | Enable the `autolink` extension |
38
- | `description_lists` | Enable the `description-lists` extension |
39
- | `escape` | Escape raw HTML instead of clobbering it |
40
- | `escape_char_spans` | Wrap escaped characters in a `<span>` to allow any post-processing to recognize them |
41
- | `figure_with_caption` | Render the image as a figure element with the title as its caption |
42
- | `footnotes` | Enable the `footnotes` extension |
43
- | `full_info_string` | Enable full info strings for code blocks |
44
- | `gemojis` | Enable the `gemojis` extensions - translate gemojis into UTF-8 characters |
45
- | `gfm_quirks` | Enables GFM-style quirks in output HTML, such as not nesting <strong> tags |
46
- | `github_pre_lang` | Use GitHub-style `<pre lang>` for code blocks |
47
- | `greentext` | Enable the `greentext` extension - requires at least one space after a `>` character to generate a blockquote, and restarts blockquote nesting across unique lines of input |
48
- | `hardbreaks` | Treat newlines as hard line breaks |
49
- | `header_ids <PREFIX>` | Enable the `header-id` extension, with the given ID prefix |
50
- | `ignore_empty_links` | Ignore empty links in input |
51
- | `ignore_setext` | Ignore setext headings in input |
52
- | `math_code` | Enables `math code` extension, using math code syntax |
53
- | `math_dollars` | Enables `math dollars` extension, using math dollar syntax |
54
- | `multiline_block_quotes` | Enable the `multiline-block-quotes` extension |
55
- | `relaxed_autolinks` | Enable relaxing of autolink parsing, allowing links to be recognized when in brackets |
56
- | `relaxed_tasklist_character` | Enable relaxing which character is allowed in tasklists |
57
- | `sourcepos` | Include source mappings in HTML attributes |
58
- | `smart` | Use smart punctuation |
59
- | `spoiler` | Enable the `spoiler` extension - use double vertical bars |
60
- | `strikethrough` | Enable the `strikethrough` extension |
61
- | `superscript` | Enable the `superscript` extension |
62
- | `table` | Enable the `table` extension |
63
- | `tagfilter` | Enable the `tagfilter` extension |
64
- | `tasklist` | Enable the `tasklist` extension |
65
- | `underline` | Enables the `underline` extension - use double underscores |
66
- | `unsafe` | Allow raw HTML and dangerous URLs |
67
- | `wikilinks_title_after_pipe` | Enable the `wikilinks_title_after_pipe` extension |
68
- | `wikilinks_title_before_pipe` | Enable the `wikilinks_title_before_pipe` extension |
69
- | `debug` | Show debug information |
35
+ | Option name | Description |
36
+ |--------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
37
+ | `autolink` | Enable the `autolink` extension |
38
+ | `description_lists` | Enable the `description-lists` extension |
39
+ | `escape` | Escape raw HTML instead of clobbering it |
40
+ | `escape_char_spans` | Wrap escaped characters in a `<span>` to allow any post-processing to recognize them |
41
+ | `figure_with_caption` | Render the image as a figure element with the title as its caption |
42
+ | `footnotes` | Enable the `footnotes` extension |
43
+ | `full_info_string` | Enable full info strings for code blocks |
44
+ | `gemojis` | Enable the `gemojis` extensions - translate gemojis into UTF-8 characters |
45
+ | `gfm_quirks` | Enables GFM-style quirks in output HTML, such as not nesting <strong> tags |
46
+ | `github_pre_lang` | Use GitHub-style `<pre lang>` for code blocks |
47
+ | `greentext` | Enable the `greentext` extension - requires at least one space after a `>` character to generate a blockquote, and restarts blockquote nesting across unique lines of input |
48
+ | `hardbreaks` | Treat newlines as hard line breaks |
49
+ | `header_ids <PREFIX>` | Enable the `header-id` extension, with the given ID prefix |
50
+ | `ignore_empty_links` | Ignore empty links in input |
51
+ | `ignore_setext` | Ignore setext headings in input |
52
+ | `math_code` | Enables `math code` extension, using math code syntax |
53
+ | `math_dollars` | Enables `math dollars` extension, using math dollar syntax |
54
+ | `multiline_block_quotes` | Enable the `multiline-block-quotes` extension |
55
+ | `default_html` | Disables any custom HTML, and returns default HTML from `comrak` |
56
+ | `placeholder_detection` | Detect placeholder variables in the format `%{placeholder}` |
57
+ | `relaxed_autolinks` | Enable relaxing of autolink parsing, allowing links to be recognized when in brackets |
58
+ | `relaxed_tasklist_character` | Enable relaxing which character is allowed in tasklists |
59
+ | `sourcepos` | Include source mappings in HTML attributes |
60
+ | `smart` | Use smart punctuation |
61
+ | `spoiler` | Enable the `spoiler` extension - use double vertical bars |
62
+ | `strikethrough` | Enable the `strikethrough` extension |
63
+ | `superscript` | Enable the `superscript` extension |
64
+ | `table` | Enable the `table` extension |
65
+ | `tagfilter` | Enable the `tagfilter` extension |
66
+ | `tasklist` | Enable the `tasklist` extension |
67
+ | `underline` | Enables the `underline` extension - use double underscores |
68
+ | `unsafe` | Allow raw HTML and dangerous URLs |
69
+ | `wikilinks_title_after_pipe` | Enable the `wikilinks_title_after_pipe` extension |
70
+ | `wikilinks_title_before_pipe` | Enable the `wikilinks_title_before_pipe` extension |
71
+ | `debug` | Show debug information |
70
72
 
71
73
  ## Dingus / Demo
72
74