https://gitlab.com/gitlab-org/gitlab-markup
Forked repository with the changes we made to the `github-markup` gem to add support for Python 3.x
https://gitlab.com/gitlab-org/gitlab-markup
Keywords
hacktoberfest
Keywords from Contributors
rubygem mvc activerecord activejob libgit2 rack background-jobs ruby-gem sinatra rubocop
Last synced: about 8 hours ago
JSON representation
Repository metadata
Forked repository with the changes we made to the `github-markup` gem to add support for Python 3.x
- Host: gitlab.com
- URL: https://gitlab.com/gitlab-org/gitlab-markup
- Owner: gitlab-org
- License: mit
- Created: 2016-10-03T23:53:34.830Z (over 9 years ago)
- Default Branch: master
- Last Synced: 2026-01-02T15:49:13.304Z (2 months ago)
- Topics: hacktoberfest
- Stars: 25
- Forks: 76
- Open Issues: 11
- Releases: 0
https://gitlab.com/gitlab-org/gitlab-markup/blob/master/
GitLab Markup
=============
[](https://gitlab.com/gitlab-org/gitlab-markup/commits/master)
This library is a fork of GitHub Markup, which is used to render all non Markdown markups:
0. This library converts the raw markup to HTML. See the list of [supported markup formats](#markups) below.
0. The HTML is sanitized, aggressively removing things that could harm you and your kin—such as `script` tags, inline-styles, and `class` or `id` attributes. See the [sanitization filter](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/sanitization_filter.rb) for the full whitelist.
0. Syntax highlighting is performed on code blocks. See [github/linguist](https://github.com/github/linguist#syntax-highlighting) for more information about syntax highlighting.
0. The HTML is passed through other filters in the [html-pipeline](https://github.com/jch/html-pipeline) that add special sauce, such as [emoji](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/emoji_filter.rb), [task lists](https://github.com/github/task_list/blob/master/lib/task_list/filter.rb), [named anchors](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/toc_filter.rb), [CDN caching for images](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/camo_filter.rb), and [autolinking](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/autolink_filter.rb).
0. The resulting HTML is rendered.
Please see our [contributing guidelines](CONTRIBUTING.md) before reporting an issue.
Markups
-------
The following markups are supported. The dependencies listed are required if
you wish to run the library. You can also run `script/bootstrap` to fetch them all (Python 3 required).
* [.markdown, .mdown, .mkdn, .md](http://daringfireball.net/projects/markdown/) -- `gem install redcarpet` ()
* [.textile](http://www.textism.com/tools/textile/) -- `gem install RedCloth`
* [.rdoc](https://ruby.github.io/rdoc/) -- `gem install rdoc -v 6.12`
* [.org](http://orgmode.org/) -- `gem install org-ruby`
* [.creole](http://wikicreole.org/) -- `gem install creole`
* [.mediawiki, .wiki](http://www.mediawiki.org/wiki/Help:Formatting) -- `gem install wikicloth`
* [.rst](https://docutils.sourceforge.io/rst.html) -- `pip install docutils`
* [.asciidoc, .adoc, .asc](http://asciidoc.org/) -- `gem install asciidoctor` ()
* [.pod](http://search.cpan.org/dist/perl/pod/perlpod.pod) -- `Pod::Simple::HTML`
comes with Perl >= 5.10. Lower versions should install [Pod::Simple](http://search.cpan.org/~dwheeler/Pod-Simple-3.28/lib/Pod/Simple.pod) from CPAN.
Installation
-----------
Ruby 3.1+ is highly recommended (Ruby 3.0 is still supported).
```shell
gem install gitlab-markup
```
Usage
-----
```ruby
require 'github/markup'
GitHub::Markup.render('README.markdown', "* One\n* Two")
```
Or, more realistically:
```ruby
require 'github/markup'
GitHub::Markup.render(file, File.read(file))
```
Contributing
------------
See [Contributing](CONTRIBUTING.md)
Owner metadata
- Name: GitLab.org
- Login: gitlab-org
- Email:
- Kind: organization
- Description: Open source software to collaborate on code
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://gitlab.com/uploads/-/system/group/avatar/9970/project_avatar.png
- Repositories: 1553
- Last ynced at: 2023-03-10T23:55:18.750Z
- Profile URL: https://gitlab.com/gitlab-org
Committers metadata
Last synced: 2 days ago
Total Commits: 418
Total Committers: 82
Avg Commits per committer: 5.098
Development Distribution Score (DDS): 0.782
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Chris Wanstrath | c****s@o****g | 91 |
| Garen Torikian | g****n@g****m | 57 |
| Brandon Keepers | b****n@o****g | 49 |
| Gabriel Mazetto | b****k@g****m | 23 |
| Dawa Ometto | d****o@p****l | 19 |
| Stan Hu | s****u@g****m | 12 |
| Charlie Somerville | c****e@c****m | 11 |
| Vicent Marti | t****u@g****m | 10 |
| Bart Kamphorst | b****t@k****m | 7 |
| Waldemar Quevedo | w****o@g****m | 7 |
| Simon Rozet | s****n@r****e | 6 |
| Takuya Noguchi | t****h@g****m | 6 |
| rick | t****e@g****m | 6 |
| Brian Lopez | s****z@g****m | 4 |
| Bryan Veloso | b****n@r****m | 4 |
| tekkub | t****b@g****m | 4 |
| Brandon Keepers | b****s@g****m | 3 |
| Brett Walker | b****r@g****m | 3 |
| Coby Chapple | c****y@c****m | 3 |
| Douwe Maan | d****e@g****m | 3 |
| Douwe Maan | d****e@s****l | 3 |
| Jeremy McAnally | j****y@g****m | 3 |
| Max Smolens | m****s@k****m | 3 |
| Ryan Tomayko | r****o@g****m | 3 |
| Shinya Okano | s****o@b****p | 3 |
| bmarjanovic | b****c@g****m | 3 |
| flying-sheep | f****p@w****e | 3 |
| Ben Burkert | b****n@b****m | 2 |
| Chad Woolley | c****y@g****m | 2 |
| Dan Allen | d****n@g****m | 2 |
| and 52 more... | ||
Committer domains:
- gitlab.com: 10
- github.com: 3
- redhat.com: 1
- moreati.org.uk: 1
- rymai.me: 1
- student.tugraz.at: 1
- gmx.ch: 1
- boostpro.com: 1
- heroku.com: 1
- benburkert.com: 1
- beproud.jp: 1
- kitware.com: 1
- selenight.nl: 1
- cobychapple.com: 1
- revyver.com: 1
- rozet.name: 1
- kamphorst.com: 1
- charliesomerville.com: 1
- phil.uu.nl: 1
- opensoul.org: 1
- ozmm.org: 1
- psych0tik.net: 1
- wurzelteiler.de: 1
- hisme.net: 1
- whym.org: 1
- pobox.com: 1
- ted.io: 1
- samwhited.com: 1
- rimerosolutions.com: 1
- cpan.org: 1
- ferrier.me.uk: 1
- assyrian.org.uk: 1
- siemens.com: 1
- sociomantic.com: 1
- ktdreyer.com: 1
- joshpeek.com: 1
- cloudbees.com: 1
- leidel.info: 1
- jirutka.cz: 1
- kiberpipa.org: 1
- qmx.me: 1
- operaonfilm.com: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Package metadata
- Total packages: 8
-
Total downloads:
- rubygems: 100,107,893 total
- Total docker downloads: 868,503,790
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 909 (may contain duplicates)
- Total versions: 38
- Total maintainers: 6
gem.coop: gitlab-markup
This gem is used by GitLab to render any non Markdown markup
- Homepage: https://gitlab.com/gitlab-org/gitlab-markup
- Documentation: http://www.rubydoc.info/gems/gitlab-markup/
- Licenses: MIT
- Latest release: 2.0.0 (published about 1 year ago)
- Last Synced: 2026-03-02T05:02:47.595Z (2 days ago)
- Versions: 16
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 50,055,171 Total
- Docker Downloads: 434,251,895
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.166%
- Downloads: 0.498%
- Maintainers (6)
rubygems.org: gitlab-markup
This gem is used by GitLab to render any non Markdown markup
- Homepage: https://gitlab.com/gitlab-org/gitlab-markup
- Documentation: http://www.rubydoc.info/gems/gitlab-markup/
- Licenses: MIT
- Latest release: 2.0.0 (published about 1 year ago)
- Last Synced: 2026-03-01T14:01:37.368Z (2 days ago)
- Versions: 16
- Dependent Packages: 0
- Dependent Repositories: 909
- Downloads: 50,052,722 Total
- Docker Downloads: 434,251,895
-
Rankings:
- Docker downloads count: 0.371%
- Downloads: 0.517%
- Dependent repos count: 1.094%
- Forks count: 3.655%
- Average: 5.823%
- Stargazers count: 13.61%
- Dependent packages count: 15.693%
- Maintainers (6)
ubuntu-23.10: ruby-gitlab-markup
- Homepage: https://gitlab.com/gitlab-org/gitlab-markup
- Licenses:
- Latest release: 1.9.0-1 (published 18 days ago)
- Last Synced: 2026-02-13T18:21:05.433Z (18 days 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-gitlab-markup
- Homepage: https://gitlab.com/gitlab-org/gitlab-markup
- Licenses:
- Latest release: 1.9.0-1 (published 21 days ago)
- Last Synced: 2026-02-11T06:40:12.503Z (21 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-gitlab-markup
- Homepage: https://gitlab.com/gitlab-org/gitlab-markup
- Documentation: https://packages.debian.org/bookworm/ruby-gitlab-markup
- Licenses:
- Latest release: 1.9.0-1 (published 19 days ago)
- Last Synced: 2026-02-12T23:30:15.175Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
debian-13: ruby-gitlab-markup
- Homepage: https://gitlab.com/gitlab-org/gitlab-markup
- Documentation: https://packages.debian.org/trixie/ruby-gitlab-markup
- Licenses:
- Latest release: 1.9.0-2 (published 19 days ago)
- Last Synced: 2026-02-13T13:16:01.077Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- RedCloth >= 0
- asciidoctor = 1.5.2
- creole ~> 0.5.0
- kramdown >= 0
- org-ruby ~> 0.9
- posix-spawn >= 0
- rake >= 0
- rdoc ~> 3.6
- redcarpet >= 0
- wikicloth = 0.8.1
- activesupport ~> 4.0 development
- html-pipeline ~> 1.0 development
- minitest ~> 5.4.3 development
- nokogiri ~> 1.10.9 development
- nokogiri-diff ~> 0.2.0 development
- sanitize ~> 5.1.0 development
Score: 28.681613833052452