Text

{.value.lines.map({'%3s| '.sprintf($line-number++) ~ $_ }).join("\n")}

NAME

Pod::Weave::To::Text - Weave plaintext documentation from Raku source

SYNOPSIS

You can use Pod::Weave::To::Text as a library:


use Pod::Weave::To::Text;
weave-text($filename.IO);

DESCRIPTION

Pod::Weave::To::Text renders plaintext documentation from Raku source files. The documentation consists of Pod blocks (rendered normally) interwoven with code-fenced Code blocks containing all of the source code from the Raku file. The goal of doing so is to support basic literate programming in Raku.

For additional details, please see the announcement blog post: www.codesections.com/blog/weaving-raku.

AUTHOR

codesections <[email protected]>

COPYRIGHT AND LICENSE

ā“’ 2020 Daniel Sockwell

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

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.