commonmarker 1.1.4-aarch64-linux → 1.1.5-aarch64-linux
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/README.md +33 -22
- data/lib/commonmarker/3.1/commonmarker.so +0 -0
- data/lib/commonmarker/3.2/commonmarker.so +0 -0
- data/lib/commonmarker/3.3/commonmarker.so +0 -0
- data/lib/commonmarker/config.rb +10 -1
- 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: 87c40f9e4235b48f10cbaa03a9a6095a6024c4876a42b9021a130522ceb7e11f
|
4
|
+
data.tar.gz: 915709756a8b45a86a4985825727a395391e823f7bcd80397444cf38c8dffc41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59a1334c80e69c855ad576396c89d738897c56acc8da17122eca92c54a3c95eb7f61d22ace3533ec19b95cd8819b5f66f757e23651e009decdcdc7ad9ee9c765
|
7
|
+
data.tar.gz: 648615e0ba218305c0c82c0bb2c8ae5606c56e1582d1e3ec34dfd063521500994d97a071d4543ded8248ed1af2af4b719142da35e9f3002d989877f0a6f98045
|
data/README.md
CHANGED
@@ -151,11 +151,12 @@ Note that there is a distinction in comrak for "parse" options and "render" opti
|
|
151
151
|
|
152
152
|
### Parse options
|
153
153
|
|
154
|
-
| Name
|
155
|
-
|
|
156
|
-
| `smart`
|
157
|
-
| `default_info_string`
|
158
|
-
| `
|
154
|
+
| Name | Description | Default |
|
155
|
+
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
156
|
+
| `smart` | Punctuation (quotes, full-stops and hyphens) are converted into 'smart' punctuation. | `false` |
|
157
|
+
| `default_info_string` | The default info string for fenced code blocks. | `""` |
|
158
|
+
| `relaxed_tasklist_matching` | Enables relaxing of the tasklist extension matching, allowing any non-space to be used for the "checked" state instead of only `x` and `X`. | `false` |
|
159
|
+
| `relaxed_autolinks` | Enable relaxing of the autolink extension parsing, allowing links to be recognized when in brackets, as well as permitting any url scheme. | `false` |
|
159
160
|
|
160
161
|
### Render options
|
161
162
|
|
@@ -163,38 +164,48 @@ Note that there is a distinction in comrak for "parse" options and "render" opti
|
|
163
164
|
| -------------------- | ------------------------------------------------------------------------------------------------------ | ------- |
|
164
165
|
| `hardbreaks` | [Soft line breaks](http://spec.commonmark.org/0.27/#soft-line-breaks) translate into hard line breaks. | `true` |
|
165
166
|
| `github_pre_lang` | GitHub-style `<pre lang="xyz">` is used for fenced code blocks with info tags. | `true` |
|
167
|
+
| `full_info_string` | Gives info string data after a space in a `data-meta` attribute on code blocks. | `false` |
|
166
168
|
| `width` | The wrap column when outputting CommonMark. | `80` |
|
167
169
|
| `unsafe` | Allow rendering of raw HTML and potentially dangerous links. | `false` |
|
168
170
|
| `escape` | Escape raw HTML instead of clobbering it. | `false` |
|
169
171
|
| `sourcepos` | Include source position attribute in HTML and XML output. | `false` |
|
170
|
-
| `escaped_char_spans` | Wrap escaped characters in span tags
|
172
|
+
| `escaped_char_spans` | Wrap escaped characters in span tags. | `true` |
|
173
|
+
| `ignore_setext` | Ignores setext-style headings. | `false` |
|
174
|
+
| `ignore_empty_links` | Ignores empty links, leaving the Markdown text in place. | `false` |
|
175
|
+
| `gfm_quirks` | Outputs HTML with GFM-style quirks; namely, not nesting `<strong>` inlines. | `false` |
|
176
|
+
| `prefer_fenced` | Always output fenced code blocks, even where an indented one could be used. | `false` |
|
171
177
|
|
172
178
|
As well, there are several extensions which you can toggle in the same manner:
|
173
179
|
|
174
180
|
```ruby
|
175
181
|
Commonmarker.to_html('"Hi *there*"', options: {
|
176
182
|
extension: { footnotes: true, description_lists: true },
|
177
|
-
render: { hardbreaks: false}
|
183
|
+
render: { hardbreaks: false }
|
178
184
|
})
|
179
185
|
```
|
180
186
|
|
181
187
|
### Extension options
|
182
188
|
|
183
|
-
| Name
|
184
|
-
| ---------------------------
|
185
|
-
| `strikethrough`
|
186
|
-
| `tagfilter`
|
187
|
-
| `table`
|
188
|
-
| `autolink`
|
189
|
-
| `tasklist`
|
190
|
-
| `superscript`
|
191
|
-
| `header_ids`
|
192
|
-
| `footnotes`
|
193
|
-
| `description_lists`
|
194
|
-
| `front_matter_delimiter`
|
195
|
-
| `
|
196
|
-
| `
|
197
|
-
| `
|
189
|
+
| Name | Description | Default |
|
190
|
+
| --------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------- |
|
191
|
+
| `strikethrough` | Enables the [strikethrough extension](https://github.github.com/gfm/#strikethrough-extension-) from the GFM spec. | `true` |
|
192
|
+
| `tagfilter` | Enables the [tagfilter extension](https://github.github.com/gfm/#disallowed-raw-html-extension-) from the GFM spec. | `true` |
|
193
|
+
| `table` | Enables the [table extension](https://github.github.com/gfm/#tables-extension-) from the GFM spec. | `true` |
|
194
|
+
| `autolink` | Enables the [autolink extension](https://github.github.com/gfm/#autolinks-extension-) from the GFM spec. | `true` |
|
195
|
+
| `tasklist` | Enables the [task list extension](https://github.github.com/gfm/#task-list-items-extension-) from the GFM spec. | `true` |
|
196
|
+
| `superscript` | Enables the superscript Comrak extension. | `false` |
|
197
|
+
| `header_ids` | Enables the header IDs Comrak extension. from the GFM spec. | `""` |
|
198
|
+
| `footnotes` | Enables the footnotes extension per `cmark-gfm`. | `false` |
|
199
|
+
| `description_lists` | Enables the description lists extension. | `false` |
|
200
|
+
| `front_matter_delimiter` | Enables the front matter extension. | `""` |
|
201
|
+
| `multiline_block_quotes` | Enables the multiline block quotes extension. | `false` |
|
202
|
+
| `math_dollars`, `math_code` | Enables the math extension. | `false` |
|
203
|
+
| `shortcodes` | Enables the shortcodes extension. | `true` |
|
204
|
+
| `wikilinks_title_before_pipe` | Enables the wikilinks extension, placing the title before the dividing pipe. | `false` |
|
205
|
+
| `wikilinks_title_after_pipe` | Enables the shortcodes extension, placing the title after the dividing pipe. | `false` |
|
206
|
+
| `underline` | Enables the underline extension. | `false` |
|
207
|
+
| `spoiler` | Enables the spoiler extension. | `false` |
|
208
|
+
| `greentext` | Enables the greentext extension. | `false` |
|
198
209
|
|
199
210
|
For more information on these options, see [the comrak documentation](https://github.com/kivikakk/comrak#usage).
|
200
211
|
|
Binary file
|
Binary file
|
Binary file
|
data/lib/commonmarker/config.rb
CHANGED
@@ -8,16 +8,22 @@ module Commonmarker
|
|
8
8
|
parse: {
|
9
9
|
smart: false,
|
10
10
|
default_info_string: "",
|
11
|
+
relaxed_tasklist_matching: false,
|
11
12
|
relaxed_autolinks: false,
|
12
13
|
}.freeze,
|
13
14
|
render: {
|
14
15
|
hardbreaks: true,
|
15
16
|
github_pre_lang: true,
|
17
|
+
full_info_string: false,
|
16
18
|
width: 80,
|
17
19
|
unsafe: false,
|
18
20
|
escape: false,
|
19
21
|
sourcepos: false,
|
20
22
|
escaped_char_spans: true,
|
23
|
+
ignore_setext: false,
|
24
|
+
ignore_empty_links: false,
|
25
|
+
gfm_quirks: false,
|
26
|
+
prefer_fenced: false,
|
21
27
|
}.freeze,
|
22
28
|
extension: {
|
23
29
|
strikethrough: true,
|
@@ -30,12 +36,15 @@ module Commonmarker
|
|
30
36
|
footnotes: false,
|
31
37
|
description_lists: false,
|
32
38
|
front_matter_delimiter: "",
|
33
|
-
shortcodes: true,
|
34
39
|
multiline_block_quotes: false,
|
35
40
|
math_dollars: false,
|
36
41
|
math_code: false,
|
42
|
+
shortcodes: true,
|
37
43
|
wikilinks_title_before_pipe: false,
|
38
44
|
wikilinks_title_after_pipe: false,
|
45
|
+
underline: false,
|
46
|
+
spoiler: false,
|
47
|
+
greentext: false,
|
39
48
|
},
|
40
49
|
format: [:html].freeze,
|
41
50
|
}.freeze
|
data/lib/commonmarker/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: aarch64-linux
|
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-
|
12
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|