https://github.com/gjtorikian/commonmarker
Ruby wrapper for the comrak (CommonMark parser) Rust crate
https://github.com/gjtorikian/commonmarker
Keywords
commonmark html libcmark
Keywords from Contributors
rubygem activerecord crash-reporting mvc activejob rubocop rack error-monitoring ruby-gem feature-flag
Last synced: about 20 hours ago
JSON representation
Repository metadata
Ruby wrapper for the comrak (CommonMark parser) Rust crate
- Host: GitHub
- URL: https://github.com/gjtorikian/commonmarker
- Owner: gjtorikian
- License: mit
- Created: 2015-05-07T04:06:29.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2026-11-23T10:51:33.000Z (3 days ago)
- Last Synced: 2026-11-25T08:24:45.570Z (about 22 hours ago)
- Topics: commonmark, html, libcmark
- Language: Rust
- Homepage:
- Size: 7.79 MB
- Stars: 569
- Watchers: 11
- Forks: 106
- Open Issues: 4
- Releases: 82
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.txt
README.md
Commonmarker
Ruby wrapper for Rust's comrak crate.
It passes all of the CommonMark test suite, and is therefore spec-complete. It also includes extensions to the CommonMark spec as documented in the GitHub Flavored Markdown spec, such as support for tables, strikethroughs, and autolinking.
[!NOTE]
By default, the following extensions are enabled for end user convenience:strikethrough,table,autolink,tasklist(all from the GFM spec), andshortcodes. Thesyntax_highlighterplugin is also enabled by default, using the"base16-ocean.dark"theme.For more information on the available options and extensions, see the documentation below.
Installation
Add this line to your application's Gemfile:
gem 'commonmarker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install commonmarker
Usage
This gem expects to receive UTF-8 strings. Ensure your strings are the right encoding before passing them into Commonmarker.
Converting to HTML
Call to_html on a string to convert it to HTML:
require 'commonmarker'
Commonmarker.to_html('"Hi *there*"', options: {
parse: { smart: true }
})
# => <p>“Hi <em>there</em>”</p>\n
(The second argument is optional--see below for more information.)
Generating a document
You can also parse a string to receive a :document node. You can then print that node to HTML, iterate over the children, and do other fun node stuff. For example:
require 'commonmarker'
doc = Commonmarker.parse("*Hello* world", options: {
parse: { smart: true }
})
puts(doc.to_html) # => <p><em>Hello</em> world</p>\n
doc.walk do |node|
puts node.type # => [:document, :paragraph, :emph, :text, :text]
end
(The second argument is optional--see below for more information.)
When it comes to modifying the document, you can perform the following operations:
insert_beforeinsert_afterprepend_childappend_childdelete
You can also get the source position of a node by calling source_position:
doc = Commonmarker.parse("*Hello* world")
puts doc.first_child.first_child.source_position
# => {:start_line=>1, :start_column=>1, :end_line=>1, :end_column=>7}
You can also modify the following attributes:
urltitleheader_levellist_typelist_startlist_tightfence_infoalert_type
Example: Walking the AST
You can use walk or each to iterate over nodes:
walkwill iterate on a node and recursively iterate on a node's children.eachwill iterate on a node's direct children, but no further.
require 'commonmarker'
# parse some string
doc = Commonmarker.parse("# The site\n\n [GitHub](https://www.github.com)")
# Walk tree and print out URLs for links
doc.walk do |node|
if node.type == :link
printf("URL = %s\n", node.url)
end
end
# => URL = https://www.github.com
# Transform links to regular text
doc.walk do |node|
if node.type == :link
node.insert_before(node.first_child)
node.delete
end
end
# => <h1><a href=\"#the-site\"></a>The site</h1>\n<p>GitHub</p>\n
Example: Converting a document back into raw CommonMark
You can use to_commonmark on a node to render it as raw text:
require 'commonmarker'
# parse some string
doc = Commonmarker.parse("# The site\n\n [GitHub](https://www.github.com)")
# Transform links to regular text
doc.walk do |node|
if node.type == :link
node.insert_before(node.first_child)
node.delete
end
end
doc.to_commonmark
# => # The site\n\nGitHub\n
Reading and writing node content
string_content reads and writes the text of nodes whose content is plain text (like :text, :code, and :code_block).
literal reads and writes the raw string a node carries, for every node type that has one (like :text, :code, :code_block, :html_block, :html_inline, :raw, :math, and :frontmatter).
The two exist separately because they mean different things. Rewriting string_content only ever swaps text for text. Rewriting literal on an :html_block, :html_inline, or :raw node writes markup that is emitted unescaped:
doc = Commonmarker.parse("A <b>bold</b> claim")
doc.walk do |node|
node.literal = "<i>" if node.type == :html_inline && node.literal == "<b>"
end
Note that a :frontmatter node's literal includes its delimiters and trailing newlines, so anything you assign must include them too.
Options and plugins
Options
Commonmarker accepts the same parse, render, and extensions options that comrak does, as a hash dictionary with symbol keys:
Commonmarker.to_html('"Hi *there*"', options:{
parse: { smart: true },
render: { hardbreaks: false}
})
Note that there is a distinction in comrak for "parse" options and "render" options, which are represented in the tables below. As well, if you wish to disable any-non boolean option, pass in nil.
Parse options
| Name | Description | Default |
|---|---|---|
smart |
Punctuation (quotes, full-stops and hyphens) are converted into 'smart' punctuation. | false |
default_info_string |
The default info string for fenced code blocks. | "" |
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 |
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 |
leave_footnote_definitions |
Allow footnote definitions to remain in their original positions instead of being moved to the document's end (only affects AST) | false |
ignore_setext |
Ignores setext-style headings. | false |
sourcepos_chars |
Use character-based column tracking in source positions instead of byte-based. Relevant for multi-byte UTF-8 documents with sourcepos. |
false |
max_nesting_depth |
The deepest a node may nest below the document. Deeper documents raise Commonmarker::NestingDepthExceededError instead of being parsed. |
1000 |
Render options
| Name | Description | Default |
|---|---|---|
hardbreaks |
Soft line breaks translate into hard line breaks. | true |
github_pre_lang |
GitHub-style <pre lang="xyz"> is used for fenced code blocks with info tags. |
true |
full_info_string |
Gives info string data after a space in a data-meta attribute on code blocks. |
false |
width |
The wrap column when outputting CommonMark. | 80 |
unsafe |
Allow rendering of raw HTML and potentially dangerous links. | false |
escape |
Escape raw HTML instead of clobbering it. | false |
sourcepos |
Include source position attribute in HTML and XML output. | false |
escaped_char_spans |
Wrap escaped characters in span tags. | true |
ignore_empty_links |
Ignores empty links, leaving the Markdown text in place. | false |
gfm_quirks |
Outputs HTML with GFM-style quirks; namely, not nesting <strong> inlines. |
false |
prefer_fenced |
Always output fenced code blocks, even where an indented one could be used. | false |
tasklist_classes |
Add CSS classes to the HTML output of the tasklist extension | false |
compact_html |
Suppress newlines in pretty-printed HTML output. | false |
alert_style |
The style of alert output: "specific" (<div class="markdown-alert">) or "semantic" (<aside class="admonition">). |
"specific" |
As well, there are several extensions which you can toggle in the same manner:
Commonmarker.to_html('"Hi *there*"', options: {
extension: { footnotes: true, description_lists: true },
render: { hardbreaks: false }
})
Extension options
| Name | Description | Default |
|---|---|---|
strikethrough |
Enables the strikethrough extension from the GFM spec. | true |
table |
Enables the table extension from the GFM spec. | true |
autolink |
Enables the autolink extension from the GFM spec. | true |
tasklist |
Enables the task list extension from the GFM spec. | true |
superscript |
Enables the superscript Comrak extension. | false |
header_ids |
Enables the header IDs Comrak extension. from the GFM spec. | "" |
header_id_prefix_in_href |
Also add the prefix to generated href attributes pointing to headers. |
false |
footnotes |
Enables the footnotes extension per cmark-gfm. |
false |
inline_footnotes |
Enables the inline footnotes extension. | false |
description_lists |
Enables the description lists extension. | false |
front_matter_delimiter |
Enables the front matter extension. | "" |
multiline_block_quotes |
Enables the multiline block quotes extension. | false |
math_dollars, math_code |
Enables the math extension. | false |
math_latex |
Enables the math extension with LaTeX-style delimiters (\(inline\), \[display\]). |
false |
shortcodes |
Enables the shortcodes extension. | true |
wikilinks_title_before_pipe |
Enables the wikilinks extension, placing the title before the dividing pipe. | false |
wikilinks_title_after_pipe |
Enables the wikilinks extension, placing the title after the dividing pipe. | false |
underline |
Enables the underline extension. | false |
spoiler |
Enables the spoiler extension. | false |
greentext |
Enables the greentext extension. | false |
subtext |
Enables the subtext extension. | false |
subscript |
Enables the subscript extension. | false |
alerts |
Enables the alerts extension. | false |
cjk_friendly_emphasis |
Enables the CJK friendly emphasis extension. | false |
highlight |
Enables highlighting via == |
false |
insert |
Enables the insert extension, rendering ++text++ as <ins>text</ins>. |
false |
block_directive |
Enables the block directive extension. | false |
For more information on these options, see the comrak documentation.
Plugins
In addition to the possibilities provided by generic CommonMark rendering, Commonmarker also supports plugins as a means of
providing further niceties.
Syntax Highlighter Plugin
The syntax highlighter plugin is enabled by default, using the "base16-ocean.dark" theme. It applies syntax highlighting to fenced code blocks that specify a language.
The library comes with a set of pre-existing themes for highlighting code:
"base16-ocean.dark""base16-eighties.dark""base16-mocha.dark""base16-ocean.light""InspiredGitHub""Solarized (dark)""Solarized (light)"
code = <<~CODE
```ruby
def hello
puts "hello"
end
```
CODE
# pass in a theme name from a pre-existing set
puts Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: "InspiredGitHub" } })
# <pre style="background-color:#ffffff;" lang="ruby"><code>
# <span style="font-weight:bold;color:#a71d5d;">def </span><span style="font-weight:bold;color:#795da3;">hello
# </span><span style="color:#62a35c;">puts </span><span style="color:#183691;">"hello"
# </span><span style="font-weight:bold;color:#a71d5d;">end
# </span>
# </code></pre>
To disable this plugin, set the value to nil:
code = <<~CODE
```ruby
def hello
puts "hello"
end
```
CODE
Commonmarker.to_html(code, plugins: { syntax_highlighter: nil })
# <pre lang="ruby"><code>def hello
# puts "hello"
# end
# </code></pre>
To output CSS classes instead of style attributes, set the theme key to "":
code = <<~CODE
```ruby
def hello
puts "hello"
end
CODE
Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: "" } })
# <pre class="syntax-highlighting"><code><span class="source ruby"><span class="meta function ruby"><span class="keyword control def ruby">def</span></span><span class="meta function ruby"> # <span class="entity name function ruby">hello</span></span>
# <span class="support function builtin ruby">puts</span> <span class="string quoted double ruby"><span class="punctuation definition string begin ruby">"</span>hello<span class="punctuation definition string end ruby">"</span></span>
# <span class="keyword control ruby">end</span>\n</span></code></pre>
To use a custom theme, you can provide a path to a directory containing .tmtheme files to load:
Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: "Monokai", path: "./themes" } })
Output formats
Commonmarker can currently only generate output in one format: HTML.
HTML
puts Commonmarker.to_html('*Hello* world!')
# <p><em>Hello</em> world!</p>
Developing locally
After cloning the repo:
script/bootstrap
bundle exec rake compile
If there were no errors, you're done! Otherwise, make sure to follow the comrak dependency instructions.
Benchmarks
❯ bundle exec rake benchmark
input size = 11064832 bytes
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
Warming up --------------------------------------
Markly.render_html 1.000 i/100ms
Markly::Node#to_html 1.000 i/100ms
Commonmarker.to_html 1.000 i/100ms
Commonmarker::Node.to_html
1.000 i/100ms
Kramdown::Document#to_html
1.000 i/100ms
Calculating -------------------------------------
Markly.render_html 15.606 (±25.6%) i/s - 71.000 in 5.047132s
Markly::Node#to_html 15.692 (±25.5%) i/s - 72.000 in 5.095810s
Commonmarker.to_html 4.482 (± 0.0%) i/s - 23.000 in 5.137680s
Commonmarker::Node.to_html
5.092 (±19.6%) i/s - 25.000 in 5.072220s
Kramdown::Document#to_html
0.379 (± 0.0%) i/s - 2.000 in 5.277770s
Comparison:
Markly::Node#to_html: 15.7 i/s
Markly.render_html: 15.6 i/s - same-ish: difference falls within error
Commonmarker::Node.to_html: 5.1 i/s - 3.08x slower
Commonmarker.to_html: 4.5 i/s - 3.50x slower
Kramdown::Document#to_html: 0.4 i/s - 41.40x slower
Owner metadata
- Name: Garen Torikian
- Login: gjtorikian
- Email:
- Kind: user
- Description:
- Website: https://www.gjtorikian.online
- Location: Lenapehoking
- Twitter:
- Company: WorkOS
- Icon url: https://avatars.githubusercontent.com/u/64050?u=e41ff60552c0dcda088e5c5c3ed1e3bf34f37dcc&v=4
- Repositories: 440
- Last ynced at: 2026-11-19T02:08:03.059Z
- Profile URL: https://github.com/gjtorikian
GitHub Events
Total
- Commit comment event: 2
- Create event: 80
- Delete event: 70
- Fork event: 11
- Issue comment event: 115
- Issues event: 39
- Pull request event: 146
- Pull request review comment event: 3
- Pull request review event: 5
- Push event: 115
- Release event: 17
- Watch event: 66
Last Year
- Create event: 12
- Delete event: 15
- Fork event: 4
- Issue comment event: 17
- Issues event: 7
- Pull request event: 32
- Pull request review comment event: 1
- Pull request review event: 2
- Push event: 36
- Release event: 1
- Watch event: 7
Committers metadata
Last synced: 2 days ago
Total Commits: 981
Total Committers: 45
Avg Commits per committer: 21.8
Development Distribution Score (DDS): 0.433
Commits in past year: 103
Committers in past year: 9
Avg Commits per committer in past year: 11.444
Development Distribution Score (DDS) in past year: 0.301
| Name | Commits | |
|---|---|---|
| Garen J. Torikian | g****n | 556 |
| Ashe Connor | a****e@k****e | 97 |
| dependabot[bot] | 4****] | 90 |
| Yuki Izumi | k****k@g****m | 48 |
| John MacFarlane | j****m@b****u | 47 |
| Yuki Izumi | y****i@k****e | 46 |
| Actions Auto Build | a****s@g****m | 18 |
| Phill MV | p****v@g****m | 9 |
| ojab | o****b@o****u | 8 |
| digitalMoksha | b****t@d****m | 6 |
| Nick Wellnhofer | w****r@a****e | 5 |
| Aaron Harpole | a****e@g****m | 4 |
| Olle Jonsson | o****n@g****m | 3 |
| fukayatsu | f****u@g****m | 3 |
| noraj | a****i@e****m | 3 |
| Andrew Anderson | g****w@g****m | 2 |
| Ben Woosley | b****y@g****m | 2 |
| Danny Ben Shitrit | db@d****m | 2 |
| Kenta Ishizaki | k****i@5****p | 2 |
| Steven Laidlaw | s****n@s****m | 2 |
| Tomoya Chiba | t****p@g****m | 2 |
| ppworks | n****9@g****m | 2 |
| FUJI Goro (gfx) | g****i@c****g | 2 |
| zarqman | tm@i****m | 1 |
| stellarpower | s****r@g****m | 1 |
| diachini | d****y@j****m | 1 |
| hagiya0121 | k****1@g****m | 1 |
| github-actions[bot] | 4****] | 1 |
| Vitaliy Klachkov | b****u@g****m | 1 |
| Ross Kaffenberger | r****f@g****m | 1 |
| and 15 more... | ||
Committer domains:
- github.com: 8
- kivikakk.ee: 2
- berkeley.edu: 1
- ojab.ru: 1
- digitalmoksha.com: 1
- aevum.de: 1
- europe.com: 1
- dannyben.com: 1
- 55728.jp: 1
- stevenlaidlaw.com: 1
- cpan.org: 1
- iprog.com: 1
- jetpackworkflow.com: 1
- rob.mx: 1
- inqk.net: 1
- zitec.com: 1
- sonicgarden.jp: 1
- ninegw.sakura.ne.jp: 1
- dio.jp: 1
Issue and Pull Request metadata
Last synced: 4 days ago
Total issues: 101
Total pull requests: 224
Average time to close issues: 3 months
Average time to close pull requests: 7 days
Total issue authors: 85
Total pull request authors: 36
Average comments per issue: 3.35
Average comments per pull request: 0.69
Merged pull request: 189
Bot issues: 1
Bot pull requests: 119
Past year issues: 18
Past year pull requests: 47
Past year average time to close issues: 9 days
Past year average time to close pull requests: 7 days
Past year issue authors: 17
Past year pull request authors: 11
Past year average comments per issue: 2.72
Past year average comments per pull request: 0.74
Past year merged pull request: 39
Past year bot issues: 0
Past year bot pull requests: 27
Top Issue Authors
- gjtorikian (5)
- DannyBen (3)
- grosser (2)
- sandstrom (2)
- digitalmoksha (2)
- jagthedrummer (2)
- monkeyWzr (2)
- noraj (2)
- mvz (2)
- igorkasyanchuk (2)
- GabeIsman (2)
- fukayatsu (2)
- tysongach (1)
- okuramasafumi (1)
- sorah (1)
Top Pull Request Authors
- dependabot[bot] (94)
- gjtorikian (53)
- github-actions[bot] (25)
- kivikakk (8)
- anticomputer (4)
- phillmv (3)
- ohakutsu (2)
- 55728 (2)
- olleolleolle (2)
- ioquatix (2)
- DannyBen (2)
- ojab (2)
- fukayatsu (2)
- stellarpower (1)
- monkeyWzr (1)
Top Issue Labels
- help wanted (2)
- TODO (2)
- docs (1)
- release (1)
- enhancement (1)
- breaking (1)
- comrak (1)
- bug (1)
Top Pull Request Labels
- dependencies (94)
- rust (86)
- release (25)
- github_actions (7)
- ruby (1)
Package metadata
- Total packages: 21
-
Total downloads:
- rubygems: 200,764,100 total
- conda: 30,474 total
- Total docker downloads: 1,331,685,134
- Total dependent packages: 71 (may contain duplicates)
- Total dependent repositories: 317,895 (may contain duplicates)
- Total versions: 1,001
- Total maintainers: 3
- Total advisories: 17
gem.coop: commonmarker
A fast, safe, extensible parser for CommonMark. This wraps the comrak Rust crate.
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: http://www.rubydoc.info/gems/commonmarker/
- Licenses: MIT
- Latest release: 2.10.1 (published about 1 month ago)
- Last Synced: 2026-11-25T03:24:57.477015Z (1 day ago)
- Versions: 432
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 100,411,254 Total
- Docker Downloads: 665,842,567
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.123%
- Docker downloads count: 0.136%
- Downloads: 0.357%
- Maintainers (2)
-
Funding:
- https://github.com/sponsors/gjtorikian/
ubuntu-20.04: ruby-commonmarker
- Homepage: http://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 0.20.2-1build1 (published 10 months ago)
- Last Synced: 2026-03-13T14:28:34.886903Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.304%
- Forks count: 0.346%
- Stargazers count: 0.87%
ubuntu-24.04: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 0.23.10-1build2 (published 10 months ago)
- Last Synced: 2026-03-13T02:09:14.375692Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.501%
- Forks count: 0.992%
- Stargazers count: 1.011%
rubygems.org: commonmarker
A fast, safe, extensible parser for CommonMark. This wraps the comrak Rust crate.
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: http://www.rubydoc.info/gems/commonmarker/
- Licenses: MIT
- Latest release: 2.10.1 (published about 1 month ago)
- Last Synced: 2026-11-24T09:36:50.122392Z (2 days ago)
- Versions: 432
- Dependent Packages: 69
- Dependent Repositories: 317,893
- Downloads: 100,352,846 Total
- Docker Downloads: 665,842,567
-
Rankings:
- Dependent repos count: 0.079%
- Docker downloads count: 0.18%
- Dependent packages count: 0.443%
- Downloads: 0.463%
- Average: 1.129%
- Forks count: 2.738%
- Stargazers count: 2.869%
- Maintainers (2)
-
Funding:
- https://github.com/sponsors/gjtorikian/
-
Advisories:
- Duplicate Advisory: Integer overflow in cmark-gfm table parsing extension leads to heap memory corruption
- Several quadratic complexity bugs may lead to denial of service in Commonmarker
- Commonmarker vulnerable to to several quadratic complexity bugs that may lead to denial of service
- Several quadratic complexity bugs may lead to denial of service in Commonmarker
- Unbounded resource exhaustion in cmark-gfm autolink extension may lead to denial of service
- Integer overflow in cmark-gfm table parsing extension leads to heap memory corruption
proxy.golang.org: github.com/gjtorikian/commonmarker
- Homepage:
- Documentation: https://pkg.go.dev/github.com/gjtorikian/commonmarker#section-documentation
- Licenses: mit
- Latest release: v2.10.1+incompatible (published about 1 month ago)
- Last Synced: 2026-11-24T10:06:09.010435Z (2 days ago)
- Versions: 112
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 2.681%
- Stargazers count: 2.88%
- Average: 6.075%
- Dependent packages count: 8.466%
- Dependent repos count: 10.274%
conda-forge.org: rb-commonmarker
- Homepage: https://rubygems.org/gems/commonmarker
- Licenses: MIT
- Latest release: 0.20.2 (published almost 7 years ago)
- Last Synced: 2026-09-28T19:27:02.586110Z (about 2 months ago)
- Versions: 3
- Dependent Packages: 2
- Dependent Repositories: 2
- Downloads: 30,474 Total
-
Rankings:
- Dependent packages count: 19.607%
- Forks count: 20.041%
- Average: 20.143%
- Dependent repos count: 20.265%
- Stargazers count: 20.66%
openbsd-7.9-amd64: textproc/ruby-commonmarker,ruby40
ruby wrapper for comrak rust crate
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 2.6.0 (published 7 months ago)
- Last Synced: 2026-05-28T03:29:52.008719Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
openbsd-7.9-amd64: textproc/ruby-commonmarker,ruby34
ruby wrapper for comrak rust crate
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 2.6.0 (published 7 months ago)
- Last Synced: 2026-05-28T03:29:51.357434Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
debian-12: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://packages.debian.org/bookworm/ruby-commonmarker
- Licenses: mit
- Latest release: 0.23.6-1 (published 10 months ago)
- Last Synced: 2026-10-15T05:29:23.680857Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
-
Advisories:
- CommonMarker versions prior to 0.23.4 are at risk of an integer overflow vulnerability. This vulnerability can result...
- cmark-gfm is an extended version of the C reference implementation of CommonMark, a rationalized version of Markdown ...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time c...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time c...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0...
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior t...
- cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm....
- The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 takes O(n * n) time to parse certain inpu...
pkgsrc-netbsd-x86_64-10.1-all: textproc/ruby-commonmarker
CommonMark parser and renderer written in C, wrapped in Ruby
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://pkgsrc.se/textproc/ruby-commonmarker
- Licenses: mit
- Latest release: 2.7.0 (published 8 months ago)
- Last Synced: 2026-07-30T03:10:56.736607Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 0.23.6-1build2 (published 10 months ago)
- Last Synced: 2026-03-11T07:10:02.433687Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://packages.debian.org/bullseye/ruby-commonmarker
- Licenses: mit
- Latest release: 0.21.0-1 (published 10 months ago)
- Last Synced: 2026-08-01T00:05:31.666161Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.10: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 0.23.10-1build3 (published 10 months ago)
- Last Synced: 2026-03-09T17:03:58.751964Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
gentoo-portage: dev-ruby/commonmarker
A fast, safe, extensible parser for CommonMark, wrapping the libcmark library
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://packages.gentoo.org/packages/dev-ruby/commonmarker
- Licenses: MIT
- Latest release: 2.3.2 (published 7 months ago)
- Last Synced: 2026-05-27T02:44:22.829927Z (6 months ago)
- Versions: 6
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
pkgsrc-netbsd-x86_64-10.1-all: textproc/ruby-commonmarker0
CommonMark parser and renderer written in C, wrapped in Ruby
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://pkgsrc.se/textproc/ruby-commonmarker0
- Licenses: mit
- Latest release: 0.23.12 (published 8 months ago)
- Last Synced: 2026-07-30T03:10:56.741802Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://packages.debian.org/trixie/ruby-commonmarker
- Licenses: mit
- Latest release: 0.23.10-1 (published 10 months ago)
- Last Synced: 2026-03-14T18:06:58.864844Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 0.23.9-1 (published 10 months ago)
- Last Synced: 2026-09-28T19:29:01.290268Z (about 2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
pkgsrc-netbsd-x86_64-10.1-all: textproc/ruby-commonmarker23
CommonMark parser and renderer written in C, wrapped in Ruby
- Homepage: https://github.com/gjtorikian/commonmarker
- Documentation: https://pkgsrc.se/textproc/ruby-commonmarker23
- Licenses: mit
- Latest release: 2.3.2nb1 (published 8 months ago)
- Last Synced: 2026-09-26T07:28:13.247106Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
openbsd-7.9-amd64: textproc/ruby-commonmarker,ruby33
ruby wrapper for comrak rust crate
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 2.6.0 (published 7 months ago)
- Last Synced: 2026-10-15T05:27:05.499944Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
debian-10: ruby-commonmarker
- Homepage: http://github.com/gjtorikian/commonmarker
- Documentation: https://packages.debian.org/buster/ruby-commonmarker
- Licenses: mit
- Latest release: 0.17.9-1 (published 10 months ago)
- Last Synced: 2026-03-13T20:01:44.004715Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: ruby-commonmarker
- Homepage: https://github.com/gjtorikian/commonmarker
- Licenses: mit
- Latest release: 0.23.2-2 (published 10 months ago)
- Last Synced: 2026-03-13T13:38:06.751410Z (9 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- benchmark-ips >= 0 development
- kramdown >= 0 development
- redcarpet >= 0 development
- awesome_print >= 0 development
- json ~> 2.3 development
- minitest ~> 5.6 development
- minitest-focus ~> 1.1 development
- rake >= 0 development
- rake-compiler ~> 0.9 development
- rdoc ~> 6.2 development
- rubocop >= 0 development
- rubocop-standard >= 0 development
- dependabot/fetch-metadata v1 composite
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- oxidize-rb/actions/setup-ruby-and-rust main composite
- oxidize-rb/cross-gem-action main composite
- ruby/setup-ruby v1 composite
- actions/checkout v3 composite
- gjtorikian/actions/setup-ruby-and-rust main composite
- 119 dependencies
- amannn/action-semantic-pull-request 48f256284bd46cdaab1048c3721360e808335d50 composite
Score: 31.307909664750355