Showing 6 changed files with 9 additions and 9 deletions
+1 -1
README.md
... ...
@@ -384,7 +384,7 @@ OK. GitPrep suport time zone. You can set time_zone option in conig file.
384 384
 * [Mojolicious::Plugin::INIConfig](http://search.cpan.org/dist/Mojolicious-Plugin-INIConfig/lib/Mojolicious/Plugin/INIConfig.pm)
385 385
 * [mojo-legacy](https://github.com/jamadam/mojo-legacy)
386 386
 * [Object::Simple](http://search.cpan.org/dist/Object-Simple/lib/Object/Simple.pm)
387
-* [Text::Markdown::Discount](http://search.cpan.org/dist/Text-Markdown-Discount/lib/Text/Markdown/Discount.pm)
387
+* [Text::Markdown::Hoedown](http://search.cpan.org/~tokuhirom/Text-Markdown-Hoedown-1.01/lib/Text/Markdown/Hoedown.pm)
388 388
 * [Validator::Custom](http://search.cpan.org/dist/Validator-Custom/lib/Validator/Custom.pm)
389 389
 
390 390
 ## Sister project
+1 -1
cpanfile
... ...
@@ -21,4 +21,4 @@ requires 'Params::Check', '== 0.36';
21 21
 requires 'ExtUtils::ParseXS', '== 3.18';
22 22
 requires 'Test::MockModule', '== 0.05';
23 23
 requires 'Digest::SHA', '== 5.84';
24
-requires 'Text::Markdown::Discount', '== 0.11';
24
+requires 'Text::Markdown::Hoedown', '== 1.01';
+1 -1
t/modules.t
... ...
@@ -28,4 +28,4 @@ use_ok('Params::Check');
28 28
 use_ok('ExtUtils::ParseXS');
29 29
 use_ok('Test::MockModule');
30 30
 use_ok('Digest::SHA');
31
-use_ok('Text::Markdown::Discount');
31
+use_ok('Text::Markdown::Hoedown');
+2 -2
templates/blob.html.ep
... ...
@@ -1,5 +1,5 @@
1 1
 <%
2
-  use Text::Markdown::Discount ();
2
+  use Text::Markdown::Hoedown;
3 3
   
4 4
   # API
5 5
   my $api = gitprep_api;
... ...
@@ -79,7 +79,7 @@
79 79
     </div>
80 80
     % if ($file =~ /\.md$/) {
81 81
         % my $readme = join "\n", @$lines;
82
-        % my $readme_e = Text::Markdown::Discount::markdown($readme);
82
+        % my $readme_e = Text::Markdown::Hoedown::markdown($readme, extensions => HOEDOWN_EXT_FENCED_CODE);
83 83
        <div class="markdown border-gray">
84 84
          <%== $readme_e %>
85 85
        </div>
+3 -3
templates/include/readme.html.ep
... ...
@@ -1,6 +1,6 @@
1 1
 <%
2 2
   use Mojo::ByteStream ();
3
-  use Text::Markdown::Discount ();
3
+  use Text::Markdown::Hoedown;
4 4
   
5 5
   my $dir = stash('dir');
6 6
   
... ...
@@ -21,7 +21,7 @@
21 21
     if ($lines) {
22 22
       $type = 'markdown';
23 23
       my $readme = join "\n", @$lines;
24
-      $readme_e = Text::Markdown::Discount::markdown($readme);
24
+      $readme_e = Text::Markdown::Hoedown::markdown($readme, extensions => HOEDOWN_EXT_FENCED_CODE);
25 25
     }
26 26
   }
27 27
 %>
... ...
@@ -37,4 +37,4 @@
37 37
       <div class="markdown border-gray"><%== $readme_e %></div>
38 38
     % }
39 39
   </div>
40
-% }
40
+% }
+1 -1
templates/project.html.ep
... ...
@@ -1,5 +1,5 @@
1 1
 <%
2
-  use Text::Markdown::Discount ();
2
+  use Text::Markdown::Hoedown;
3 3
 
4 4
   my $state;
5 5