зеркало из https://github.com/github/markup.git
Cleanup
This commit is contained in:
Родитель
3286a7eb44
Коммит
8c5fc3d999
|
@ -5,3 +5,4 @@ Gemfile.lock
|
|||
vendor/
|
||||
.project
|
||||
.buildpath
|
||||
*~
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Processing "
|
||||
echo "$1"
|
||||
perl6 --doc=HTML "$1"
|
||||
|
|
|
@ -51,5 +51,5 @@ command(
|
|||
"restructuredtext"
|
||||
)
|
||||
|
||||
command(::GitHub::Markups::MARKUP_POD6, :pod6tohtml, /pod/, ["Pod6"], "pod6")
|
||||
command(::GitHub::Markups::MARKUP_POD6, :pod6tohtml, /pod6/, ["Pod6"], "pod6")
|
||||
command(::GitHub::Markups::MARKUP_POD, :pod2html, /pod$/, ["Pod"], "pod")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# encoding: UTF-8
|
||||
# encoding: utf-8
|
||||
|
||||
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
|
||||
|
||||
|
@ -93,7 +93,8 @@ message
|
|||
assert_equal "wikicloth", GitHub::Markup.renderer('README.wiki', '<h1>Title</h1>').name
|
||||
assert_equal "asciidoctor", GitHub::Markup.renderer('README.adoc', '== Title').name
|
||||
assert_equal "restructuredtext", GitHub::Markup.renderer('README.rst', 'Title').name
|
||||
assert_equal "pod", GitHub::Markup.renderer('README.pod', '=begin').name
|
||||
assert_equal "pod", GitHub::Markup.renderer('README.pod', '=head1').name
|
||||
assert_equal "pod6", GitHub::Markup.renderer('README.pod6', '=begin').name
|
||||
end
|
||||
|
||||
def test_rendering_by_symbol
|
||||
|
|
Загрузка…
Ссылка в новой задаче