{"id":17127414,"url":"https://github.com/tnir/gitlab-markup","last_synced_at":"2025-03-24T03:45:40.355Z","repository":{"id":78341865,"uuid":"248012854","full_name":"tnir/gitlab-markup","owner":"tnir","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-17T16:00:37.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T10:16:09.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tnir.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-17T16:00:23.000Z","updated_at":"2020-03-17T16:00:43.000Z","dependencies_parsed_at":"2023-03-29T05:17:41.924Z","dependency_job_id":null,"html_url":"https://github.com/tnir/gitlab-markup","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnir%2Fgitlab-markup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnir%2Fgitlab-markup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnir%2Fgitlab-markup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnir%2Fgitlab-markup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tnir","download_url":"https://codeload.github.com/tnir/gitlab-markup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245206531,"owners_count":20577582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T19:04:37.042Z","updated_at":"2025-03-24T03:45:40.335Z","avatar_url":"https://github.com/tnir.png","language":"Ruby","readme":"GitLab Markup\n=============\n\n[![build status](https://gitlab.com/gitlab-org/gitlab-markup/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/gitlab-markup/commits/master)\n\nThis library is a fork of GitHub Markup, which is used to render all non Markdown markups:\n\n0. This library converts the raw markup to HTML. See the list of [supported markup formats](#markups) below.\n0. 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.\n0. Syntax highlighting is performed on code blocks. See [github/linguist](https://github.com/github/linguist#syntax-highlighting) for more information about syntax highlighting.\n0. 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).\n0. The resulting HTML is rendered.\n\nPlease see our [contributing guidelines](CONTRIBUTING.md) before reporting an issue.\n\nMarkups\n-------\n\nThe following markups are supported.  The dependencies listed are required if\nyou wish to run the library. You can also run `script/bootstrap` to fetch them all.\n\n* [.markdown, .mdown, .mkdn, .md](http://daringfireball.net/projects/markdown/) -- `gem install redcarpet` (https://github.com/vmg/redcarpet)\n* [.textile](http://www.textism.com/tools/textile/) -- `gem install RedCloth`\n* [.rdoc](http://rdoc.sourceforge.net/) -- `gem install rdoc -v 3.6.1`\n* [.org](http://orgmode.org/) -- `gem install org-ruby`\n* [.creole](http://wikicreole.org/) -- `gem install creole`\n* [.mediawiki, .wiki](http://www.mediawiki.org/wiki/Help:Formatting) -- `gem install wikicloth`\n* [.rst](http://docutils.sourceforge.net/rst.html) -- `pip install docutils==0.13.1`\n* [.asciidoc, .adoc, .asc](http://asciidoc.org/) -- `gem install asciidoctor` (http://asciidoctor.org)\n* [.pod](http://search.cpan.org/dist/perl/pod/perlpod.pod) -- `Pod::Simple::HTML`\n  comes with Perl \u003e= 5.10. Lower versions should install [Pod::Simple](http://search.cpan.org/~dwheeler/Pod-Simple-3.28/lib/Pod/Simple.pod) from CPAN.\n\nInstallation\n-----------\n\n```\ngem install gitlab-markup\n```\n\nUsage\n-----\n\n```ruby\nrequire 'github/markup'\nGitHub::Markup.render('README.markdown', \"* One\\n* Two\")\n```\n\nOr, more realistically:\n\n```ruby\nrequire 'github/markup'\nGitHub::Markup.render(file, File.read(file))\n```\n\nContributing\n------------\n\nSee [Contributing](CONTRIBUTING.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnir%2Fgitlab-markup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnir%2Fgitlab-markup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnir%2Fgitlab-markup/lists"}