gitlab-glfm-markdown 0.0.29-aarch64-linux-gnu → 0.0.31-aarch64-linux-gnu
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 +17 -15
- data/README.md +38 -36
- data/ext/glfm_markdown/Cargo.lock +1028 -0
- data/ext/glfm_markdown/Cargo.toml +5 -3
- data/ext/glfm_markdown/extconf.rb +2 -0
- data/ext/glfm_markdown/src/glfm.rs +280 -47
- data/ext/glfm_markdown/src/lib.rs +2 -0
- data/ext/glfm_markdown/src/main.rs +17 -0
- data/lib/glfm_markdown/3.1/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.2/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.3/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/3.4/glfm_markdown.so +0 -0
- data/lib/glfm_markdown/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d11613a19d0109f478424b8e16342fe57f273b81771c02a443279e9e1ad5a8d
|
4
|
+
data.tar.gz: 86093c4139e1e1371500f1b6b2dc58bb1dce2355f6ac969a1266ffc48f969cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcaf4635d4cb75eb38d889385d4e8b1a0b935910f7eabc691343ba3115bb9a36bd0ba2b8ebfe9cd01533256008cb8f56a9ab59ae7771877c882d4e39e22351b1
|
7
|
+
data.tar.gz: f3ab4b40eb8f2ce41932613d68f4c4209631192d5f6d61c363e9da4fa292343731414e9d5bf37bba6c53de6a7fd342cc20c493dd3ac9b476f074f6779d64d17f
|
data/Cargo.lock
CHANGED
@@ -181,9 +181,9 @@ dependencies = [
|
|
181
181
|
|
182
182
|
[[package]]
|
183
183
|
name = "clap"
|
184
|
-
version = "4.
|
184
|
+
version = "4.4.18"
|
185
185
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
186
|
-
checksum = "
|
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.
|
194
|
+
version = "4.4.18"
|
195
195
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
196
|
-
checksum = "
|
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.
|
206
|
+
version = "4.4.7"
|
207
207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
208
|
-
checksum = "
|
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.
|
218
|
+
version = "0.6.0"
|
219
219
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
220
|
-
checksum = "
|
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.
|
230
|
+
version = "0.39.0"
|
231
231
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
232
|
-
checksum = "
|
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.
|
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.
|
347
|
+
version = "0.4.1"
|
346
348
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
347
|
-
checksum = "
|
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.
|
734
|
+
version = "0.10.0"
|
733
735
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
734
|
-
checksum = "
|
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.
|
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
|
36
|
-
|
37
|
-
| `autolink`
|
38
|
-
| `description_lists`
|
39
|
-
| `escape`
|
40
|
-
| `escape_char_spans`
|
41
|
-
| `figure_with_caption`
|
42
|
-
| `footnotes`
|
43
|
-
| `full_info_string`
|
44
|
-
| `gemojis`
|
45
|
-
| `gfm_quirks`
|
46
|
-
| `github_pre_lang`
|
47
|
-
| `greentext`
|
48
|
-
| `hardbreaks`
|
49
|
-
| `header_ids <PREFIX>`
|
50
|
-
| `ignore_empty_links`
|
51
|
-
| `ignore_setext`
|
52
|
-
| `math_code`
|
53
|
-
| `math_dollars`
|
54
|
-
| `multiline_block_quotes`
|
55
|
-
| `
|
56
|
-
| `
|
57
|
-
| `
|
58
|
-
| `
|
59
|
-
| `
|
60
|
-
| `
|
61
|
-
| `
|
62
|
-
| `
|
63
|
-
| `
|
64
|
-
| `
|
65
|
-
| `
|
66
|
-
| `
|
67
|
-
| `
|
68
|
-
| `
|
69
|
-
| `
|
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
|
|