Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds POD6, the markup language for Perl6, to the repo #1173

Merged
merged 21 commits into from
Dec 12, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
trim heading/leading text
  • Loading branch information
kivikakk committed Dec 10, 2018
commit e953f7083002053b72d461f1dc743ccb04f6cdef
6 changes: 5 additions & 1 deletion lib/github/commands/pod62html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
use v6;

use Pod::To::HTML;
put Pod::To::HTML.render(slurp);

$_ = Pod::To::HTML.render(slurp);
s:s{\<\!doctype html\>.*\<div id\=\"___top\"\>\<\/div\>\s*} = "";
s:s{\s*\<\/div\>\s*\<\/body\>\s*\<\/html\>\s*} = "";
.put;