gitlab-glfm-markdown 0.0.31-x86_64-linux-gnu → 0.0.33-x86_64-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.
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.39.0`_.
8
+ _Currently using `comrak 0.40.0`_.
9
9
 
10
10
  This project is still in constant flux, so interfaces and functionality can change at any time.
11
11
 
@@ -32,43 +32,45 @@ 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
- | `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 |
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
+ | `inapplicable_tasks` | Allow inapplicable tasks items. Must also set the `relaxed_tasklist_character` option. |
53
+ | `math_code` | Enables `math code` extension, using math code syntax |
54
+ | `math_dollars` | Enables `math dollars` extension, using math dollar syntax |
55
+ | `multiline_block_quotes` | Enable the `multiline-block-quotes` extension |
56
+ | `default_html` | Disables any custom HTML, and returns default HTML from `comrak` |
57
+ | `placeholder_detection` | Detect placeholder variables in the format `%{placeholder}` |
58
+ | `relaxed_autolinks` | Enable relaxing of autolink parsing, allowing links to be recognized when in brackets |
59
+ | `relaxed_tasklist_character` | Enable relaxing which character is allowed in tasklists |
60
+ | `sourcepos` | Include source mappings in HTML attributes |
61
+ | `smart` | Use smart punctuation |
62
+ | `spoiler` | Enable the `spoiler` extension - use double vertical bars |
63
+ | `strikethrough` | Enable the `strikethrough` extension |
64
+ | `superscript` | Enable the `superscript` extension |
65
+ | `table` | Enable the `table` extension |
66
+ | `tagfilter` | Enable the `tagfilter` extension |
67
+ | `tasklist` | Enable the `tasklist` extension |
68
+ | `tasklist_classes` | Output classes on tasklist elements so that they can be styled with CSS |
69
+ | `underline` | Enables the `underline` extension - use double underscores |
70
+ | `unsafe` | Allow raw HTML and dangerous URLs |
71
+ | `wikilinks_title_after_pipe` | Enable the `wikilinks_title_after_pipe` extension |
72
+ | `wikilinks_title_before_pipe` | Enable the `wikilinks_title_before_pipe` extension |
73
+ | `debug` | Show debug information |
72
74
 
73
75
  ## Dingus / Demo
74
76