From 63cb7e6c80d549c43a51c09043459b9f9c0ab7df Mon Sep 17 00:00:00 2001 From: Patrick Spek
One
+Two
+Refer to Another section.
+NOTE: Here is some source code.
+MAIN() {
+ say "Hello GitHub!"
+}
+☐ todo
+☑ done
+content
+ +One
Two
Refer to Another section.
-NOTE: Here is some source code.
MAIN() {
say "Hello GitHub!"
From ec8867f127b7cbfd0a63d6f1d300ba6e65824518 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Thu, 29 Mar 2018 10:59:14 +0200
Subject: [PATCH 3/4] Add command to convert pod6 to html
---
lib/github/commands/pod62html | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100755 lib/github/commands/pod62html
diff --git a/lib/github/commands/pod62html b/lib/github/commands/pod62html
new file mode 100755
index 00000000..97a2fb3f
--- /dev/null
+++ b/lib/github/commands/pod62html
@@ -0,0 +1,13 @@
+#!/usr/bin/env perl6
+
+use v6.c;
+
+use Pod::To::HTML;
+
+sub MAIN()
+{
+ Pod::To::HTML.render(
+ $*IN.slurp,
+ default-title => 'Readme',
+ ).say;
+}
From 5bc29f1cc8684e8f047b3429c4e00cbdc9bce740 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Thu, 29 Mar 2018 10:59:25 +0200
Subject: [PATCH 4/4] Add pod6 to markups
---
lib/github/markup.rb | 1 +
lib/github/markups.rb | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/github/markup.rb b/lib/github/markup.rb
index 84c1e45f..d6b5cca5 100644
--- a/lib/github/markup.rb
+++ b/lib/github/markup.rb
@@ -16,6 +16,7 @@ module Markups
MARKUP_MEDIAWIKI = :mediawiki
MARKUP_ORG = :org
MARKUP_POD = :pod
+ MARKUP_POD6 = :pod6
MARKUP_RDOC = :rdoc
MARKUP_RST = :rst
MARKUP_TEXTILE = :textile
diff --git a/lib/github/markups.rb b/lib/github/markups.rb
index 61138e85..6c4da8e8 100644
--- a/lib/github/markups.rb
+++ b/lib/github/markups.rb
@@ -52,3 +52,4 @@
)
command(::GitHub::Markups::MARKUP_POD, :pod2html, /pod/, ["Pod"], "pod")
+command(::GitHub::Markups::MARKUP_POD6, :pod62html, /pod6/, ["Pod6"], "pod6")