Render Perl6 Pod as Markdown
Perl 6
Switch branches/tags
Pull request Compare This branch is 61 commits ahead of jpve:master.


Pod::To::Markdown - Render Pod as Markdown

Build Status Windows status


From command line:

$ perl6 --doc=Markdown lib/To/

From Perl6:

use Pod::To::Markdown;


=SYNOPSIS <options> files ...

print pod2markdown($=pod);


class Pod::To::Markdown
sub pod2markdown


sub pod2markdown

sub pod2markdown(
    Bool :$no-fenced-codeblocks
) returns Str

Render Pod as Markdown

To render without fenced codeblocks (```), as some markdown engines don't support this, use the :no-fenced-codeblocks option. If you want to have code show up as ```perl6 to enable syntax highlighting on certain markdown renderers, use:

=begin code :lang<perl6>

method render

method render(
    Bool :$no-fenced-codeblocks
) returns Str

Render Pod as Markdown, see pod2markdown


This is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0.