|Number of watchers on Github||4210|
|Number of open issues||74|
|Average time to close an issue||19 days|
|Average time to merge a PR||23 days|
|Open pull requests||25+|
|Closed pull requests||12+|
|Last commit||over 1 year ago|
|Repo Created||over 9 years ago|
|Repo Last Updated||over 1 year ago|
|Organization / Author||github|
|Do you use markup? Leave a review!|
|View open issues (74)|
|View markup activity|
|View on github|
|Fresh, new opensource launches 🚀🚀🚀|
Trendy new open source projects in your inbox! View examples
This library is the first step of a journey that every markup file in a repository goes on before it is rendered on GitHub.com:
scripttags, inline-styles, and
idattributes. See the sanitization filter for the full whitelist.
Please note that only the first step is covered by this gem the rest happens on GitHub.com. In particular,
markup itself does no sanitization of the resulting HTML, as it expects that to be covered by whatever pipeline is consuming the HTML.
Please see our contributing guidelines before reporting an issue.
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.
gem install commonmarker(https://github.com/gjtorikian/commonmarker)
gem install RedCloth(https://github.com/jgarber/redcloth)
gem install rdoc -v 3.6.1
gem install org-ruby(https://github.com/wallyqs/org-ruby)
gem install creole(https://github.com/larsch/creole)
gem install wikicloth(https://github.com/nricciar/wikicloth)
pip install docutils
gem install asciidoctor(http://asciidoctor.org)
Pod::Simple::XHTMLcomes with Perl >= 5.10. Lower versions should install Pod::Simple from CPAN.
gem install github-markup
require 'github/markup' GitHub::Markup.render('README.markdown', "* One\n* Two")
More realistic form:
require 'github/markup' GitHub::Markup.render(file, File.read(file))
And a convenience form:
require 'github/markup' GitHub::Markup.render_s(GitHub::Markups::MARKUP_MARKDOWN, "* One\n* Two")