gitlab-glfm-markdown 0.0.36-x86_64-darwin → 0.0.37-x86_64-darwin
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 +1 -1
 - data/README.md +5 -0
 - data/ext/glfm_markdown/Cargo.lock +1 -1
 - data/ext/glfm_markdown/Cargo.toml +1 -1
 - data/ext/glfm_markdown/src/glfm.rs +2 -0
 - data/ext/glfm_markdown/src/main.rs +5 -0
 - data/lib/glfm_markdown/3.1/glfm_markdown.bundle +0 -0
 - data/lib/glfm_markdown/3.2/glfm_markdown.bundle +0 -0
 - data/lib/glfm_markdown/3.3/glfm_markdown.bundle +0 -0
 - data/lib/glfm_markdown/3.4/glfm_markdown.bundle +0 -0
 - data/lib/glfm_markdown/version.rb +1 -1
 - data/lib/glfm_markdown.rb +1 -0
 - 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: 44810b20e60bea3ced8d4990a67d2cfae210d23f6b92d723a8b5b7c3872a348a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 3aabecb8f55fb5119d94ddfb575c2cad961e1eee9a57265af2c2304831d0e29c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 57fd17fd4a8baadb5ea6a210633f1a7a112ab57089da9f2a8c4a7f183286131913142d4633292a0bd38ba5c231bde3f2e2d280e28d1b1f5dc2d96640ca900986
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 92c5ae3e288a061c11032f286b9d42f4dd9ceb04ba35624bed81ede789a95f87c98d4935193a5485380cbacb048fb8ed950e56e89f9437afae9e73c4cc4cd3f8
         
     | 
    
        data/Cargo.lock
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | 
         @@ -37,6 +37,7 @@ GLFMMarkdown.to_html('# header', options: { sourcepos: true }) 
     | 
|
| 
       37 
37 
     | 
    
         
             
            | Option name                   | Description                                                                                                                                                                 |
         
     | 
| 
       38 
38 
     | 
    
         
             
            |-------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
         
     | 
| 
       39 
39 
     | 
    
         
             
            | `autolink`                    | Enable the `autolink` extension                                                                                                                                             |
         
     | 
| 
      
 40 
     | 
    
         
            +
            | `cjk_friendly_emphasis`       | Enable the `cjk_friendly_emphasis` extension                                                                                                                                |
         
     | 
| 
       40 
41 
     | 
    
         
             
            | `description_lists`           | Enable the `description-lists` extension                                                                                                                                    |
         
     | 
| 
       41 
42 
     | 
    
         
             
            | `escape`                      | Escape raw HTML instead of clobbering it                                                                                                                                    |
         
     | 
| 
       42 
43 
     | 
    
         
             
            | `escape_char_spans`           | Wrap escaped characters in a `<span>` to allow any post-processing to recognize them                                                                                        |
         
     | 
| 
         @@ -111,4 +112,8 @@ published to [RubyGems](https://rubygems.org/gems/gitlab-glfm-markdown). 
     | 
|
| 
       111 
112 
     | 
    
         | 
| 
       112 
113 
     | 
    
         
             
            Bug reports and merge requests are welcome on GitLab at https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown.
         
     | 
| 
       113 
114 
     | 
    
         | 
| 
      
 115 
     | 
    
         
            +
            Visit the [Community Contribute](https://about.gitlab.com/community/contribute/)
         
     | 
| 
      
 116 
     | 
    
         
            +
            page for general information about contributing to GitLab, and using the
         
     | 
| 
      
 117 
     | 
    
         
            +
            [community fork](https://gitlab.com/gitlab-community/gitlab-org/ruby/gems/gitlab-glfm-markdown).
         
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
       114 
119 
     | 
    
         
             
            Please refer to [CONTRIBUTING](CONTRIBUTING.md) for more details.
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            [package]
         
     | 
| 
       2 
2 
     | 
    
         
             
            name = "glfm_markdown"
         
     | 
| 
       3 
     | 
    
         
            -
            version = "0.0. 
     | 
| 
      
 3 
     | 
    
         
            +
            version = "0.0.37"
         
     | 
| 
       4 
4 
     | 
    
         
             
            edition = "2021"
         
     | 
| 
       5 
5 
     | 
    
         
             
            authors = ["digitalmoksha <bwalker@gitlab.com>", "Asherah Connor <aconnor@gitlab.com>"]
         
     | 
| 
       6 
6 
     | 
    
         
             
            description = "GitLab Flavored Markdown parser and formatter. 100% CommonMark-compatible. Experimental."
         
     | 
| 
         @@ -8,6 +8,7 @@ use crate::formatter::{CustomFormatter, RenderUserData}; 
     | 
|
| 
       8 
8 
     | 
    
         
             
            pub struct RenderOptions {
         
     | 
| 
       9 
9 
     | 
    
         
             
                pub alerts: bool,
         
     | 
| 
       10 
10 
     | 
    
         
             
                pub autolink: bool,
         
     | 
| 
      
 11 
     | 
    
         
            +
                pub cjk_friendly_emphasis: bool,
         
     | 
| 
       11 
12 
     | 
    
         
             
                // pub default_info_string: String,
         
     | 
| 
       12 
13 
     | 
    
         
             
                pub description_lists: bool,
         
     | 
| 
       13 
14 
     | 
    
         
             
                pub escape: bool,
         
     | 
| 
         @@ -82,6 +83,7 @@ impl From<&RenderOptions> for comrak::Options<'_> { 
     | 
|
| 
       82 
83 
     | 
    
         | 
| 
       83 
84 
     | 
    
         
             
                    comrak_options.extension.alerts = options.alerts;
         
     | 
| 
       84 
85 
     | 
    
         
             
                    comrak_options.extension.autolink = options.autolink;
         
     | 
| 
      
 86 
     | 
    
         
            +
                    comrak_options.extension.cjk_friendly_emphasis = options.cjk_friendly_emphasis;
         
     | 
| 
       85 
87 
     | 
    
         
             
                    comrak_options.extension.description_lists = options.description_lists;
         
     | 
| 
       86 
88 
     | 
    
         
             
                    comrak_options.extension.footnotes = options.footnotes;
         
     | 
| 
       87 
89 
     | 
    
         
             
                    // comrak_options.extension.front_matter_delimiter = options.front_matter_delimiter;
         
     | 
| 
         @@ -188,6 +188,10 @@ struct Args { 
     | 
|
| 
       188 
188 
     | 
    
         
             
                #[arg(long)]
         
     | 
| 
       189 
189 
     | 
    
         
             
                only_escape_chars: Option<String>,
         
     | 
| 
       190 
190 
     | 
    
         | 
| 
      
 191 
     | 
    
         
            +
                /// Enable 'cjk_friendly_emphasis' extension
         
     | 
| 
      
 192 
     | 
    
         
            +
                #[arg(long)]
         
     | 
| 
      
 193 
     | 
    
         
            +
                cjk_friendly_emphasis: bool,
         
     | 
| 
      
 194 
     | 
    
         
            +
             
     | 
| 
       191 
195 
     | 
    
         
             
                /// Show debug information
         
     | 
| 
       192 
196 
     | 
    
         
             
                #[arg(long)]
         
     | 
| 
       193 
197 
     | 
    
         
             
                debug: bool,
         
     | 
| 
         @@ -210,6 +214,7 @@ fn main() { 
     | 
|
| 
       210 
214 
     | 
    
         
             
                let options = RenderOptions {
         
     | 
| 
       211 
215 
     | 
    
         
             
                    alerts: cli.alerts,
         
     | 
| 
       212 
216 
     | 
    
         
             
                    autolink: cli.autolink,
         
     | 
| 
      
 217 
     | 
    
         
            +
                    cjk_friendly_emphasis: cli.cjk_friendly_emphasis,
         
     | 
| 
       213 
218 
     | 
    
         
             
                    // default_info_string:
         
     | 
| 
       214 
219 
     | 
    
         
             
                    description_lists: cli.description_lists,
         
     | 
| 
       215 
220 
     | 
    
         
             
                    escape: cli.escape,
         
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
    
        data/lib/glfm_markdown.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: gitlab-glfm-markdown
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.37
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: x86_64-darwin
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Brett Walker
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2025-10- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2025-10-14 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: rb_sys
         
     |