ruby-github-markup: Import ruby-github-markup-1.7.0 as wip/ruby-github-markup
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: 1. github-markup selects an underlying library to convert the raw markup to HTML. See the list of supported markup formats below. 2. 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. 3. Syntax highlighting is performed on code blocks. See github/linguist for more information about syntax highlighting. 4. The HTML is passed through other filters that add special sauce, such as emoji, task lists, named anchors, CDN caching for images, and autolinking. 5. The resulting HTML is rendered on GitHub.com. 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.
This commit is contained in:
parent
0d8844bc4d
commit
84b6cc9632
1
Makefile
1
Makefile
|
@ -4333,6 +4333,7 @@ SUBDIR+= ruby-gh
|
|||
SUBDIR+= ruby-ghi
|
||||
SUBDIR+= ruby-git
|
||||
SUBDIR+= ruby-git_stats
|
||||
SUBDIR+= ruby-github-markup
|
||||
SUBDIR+= ruby-httparty
|
||||
SUBDIR+= ruby-iesd
|
||||
SUBDIR+= ruby-kakasi
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
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:
|
||||
|
||||
1. github-markup selects an underlying library to convert the raw
|
||||
markup to HTML. See the list of supported markup formats below.
|
||||
2. 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.
|
||||
3. Syntax highlighting is performed on code blocks. See
|
||||
github/linguist for more information about syntax highlighting.
|
||||
4. The HTML is passed through other filters that add special
|
||||
sauce, such as emoji, task lists, named anchors, CDN caching
|
||||
for images, and autolinking.
|
||||
5. The resulting HTML is rendered on GitHub.com.
|
||||
|
||||
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.
|
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD$
|
||||
|
||||
DISTNAME= github-markup-1.7.0
|
||||
CATEGORIES= textproc
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/github/markup
|
||||
COMMENT= Markup library to use to render a content file on GitHub
|
||||
LICENSE= mit
|
||||
|
||||
.include "../../lang/ruby/gem.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,64 @@
|
|||
@comment $NetBSD$
|
||||
bin/github-markup
|
||||
${GEM_HOME}/cache/${GEM_NAME}.gem
|
||||
${GEM_LIBDIR}/.gitignore
|
||||
${GEM_LIBDIR}/.kick
|
||||
${GEM_LIBDIR}/.travis.yml
|
||||
${GEM_LIBDIR}/CONTRIBUTING.md
|
||||
${GEM_LIBDIR}/Gemfile
|
||||
${GEM_LIBDIR}/HISTORY.md
|
||||
${GEM_LIBDIR}/LICENSE
|
||||
${GEM_LIBDIR}/README.md
|
||||
${GEM_LIBDIR}/Rakefile
|
||||
${GEM_LIBDIR}/bin/github-markup
|
||||
${GEM_LIBDIR}/github-markup.gemspec
|
||||
${GEM_LIBDIR}/lib/github-markup.rb
|
||||
${GEM_LIBDIR}/lib/github/commands/pod2html
|
||||
${GEM_LIBDIR}/lib/github/commands/rest2html
|
||||
${GEM_LIBDIR}/lib/github/markup.rb
|
||||
${GEM_LIBDIR}/lib/github/markup/command_implementation.rb
|
||||
${GEM_LIBDIR}/lib/github/markup/gem_implementation.rb
|
||||
${GEM_LIBDIR}/lib/github/markup/implementation.rb
|
||||
${GEM_LIBDIR}/lib/github/markup/markdown.rb
|
||||
${GEM_LIBDIR}/lib/github/markup/rdoc.rb
|
||||
${GEM_LIBDIR}/lib/github/markups.rb
|
||||
${GEM_LIBDIR}/script/bootstrap
|
||||
${GEM_LIBDIR}/script/bootstrap.contrib
|
||||
${GEM_LIBDIR}/script/cibuild
|
||||
${GEM_LIBDIR}/test/fixtures/fail.sh
|
||||
${GEM_LIBDIR}/test/markup_test.rb
|
||||
${GEM_LIBDIR}/test/markups/README.asciidoc
|
||||
${GEM_LIBDIR}/test/markups/README.asciidoc.html
|
||||
${GEM_LIBDIR}/test/markups/README.creole
|
||||
${GEM_LIBDIR}/test/markups/README.creole.html
|
||||
${GEM_LIBDIR}/test/markups/README.directives.rst
|
||||
${GEM_LIBDIR}/test/markups/README.directives.rst.html
|
||||
${GEM_LIBDIR}/test/markups/README.litcoffee
|
||||
${GEM_LIBDIR}/test/markups/README.litcoffee.html
|
||||
${GEM_LIBDIR}/test/markups/README.markdown
|
||||
${GEM_LIBDIR}/test/markups/README.markdown.html
|
||||
${GEM_LIBDIR}/test/markups/README.mediawiki
|
||||
${GEM_LIBDIR}/test/markups/README.mediawiki.html
|
||||
${GEM_LIBDIR}/test/markups/README.noformat
|
||||
${GEM_LIBDIR}/test/markups/README.noformat.html
|
||||
${GEM_LIBDIR}/test/markups/README.org
|
||||
${GEM_LIBDIR}/test/markups/README.org.html
|
||||
${GEM_LIBDIR}/test/markups/README.pod
|
||||
${GEM_LIBDIR}/test/markups/README.pod.html
|
||||
${GEM_LIBDIR}/test/markups/README.rdoc
|
||||
${GEM_LIBDIR}/test/markups/README.rdoc.html
|
||||
${GEM_LIBDIR}/test/markups/README.rmd
|
||||
${GEM_LIBDIR}/test/markups/README.rmd.html
|
||||
${GEM_LIBDIR}/test/markups/README.rst
|
||||
${GEM_LIBDIR}/test/markups/README.rst.html
|
||||
${GEM_LIBDIR}/test/markups/README.rst.txt
|
||||
${GEM_LIBDIR}/test/markups/README.rst.txt.html
|
||||
${GEM_LIBDIR}/test/markups/README.textile
|
||||
${GEM_LIBDIR}/test/markups/README.textile.html
|
||||
${GEM_LIBDIR}/test/markups/README.toc.rst
|
||||
${GEM_LIBDIR}/test/markups/README.toc.rst.html
|
||||
${GEM_LIBDIR}/test/markups/README.txt
|
||||
${GEM_LIBDIR}/test/markups/README.txt.html
|
||||
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|
||||
@pkgdir lib/ruby/gems/2.6.0/extensions
|
||||
@pkgdir lib/ruby/gems/2.6.0/build_info
|
|
@ -0,0 +1,6 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (github-markup-1.7.0.gem) = 6bf0a040dcedc7deb5dedfd7e14367b691700b90
|
||||
RMD160 (github-markup-1.7.0.gem) = f9a5707929458e655e74644dc6c4e2c8cf78c6fa
|
||||
SHA512 (github-markup-1.7.0.gem) = 25c9908403c52a8d511788698b6992248768db0da93a87e48ae077d41719957dd0c1ca9146980f98cc038d3d6ed18446463bc6bde3808a8c9f096e8b284125d1
|
||||
Size (github-markup-1.7.0.gem) = 30720 bytes
|
Loading…
Reference in New Issue