Marquee Marquee::Plugin::Markdown - Markdown renderer plugin

TABLE OF CONTENTS

NAME

Marquee::Plugin::Markdown - Markdown renderer plugin

SYNOPSIS

$app->plugin('Markdown');

# on brower the following url for example will be available.
#
# http://localhost:3000/markdown/
# http://localhost:3000/markdown/path/to/doc.md

DESCRIPTION

This is a plugin for Markdown Viewer server.

INSTANCE METHODS

Marquee::Plugin::Markdown inherits all instance methods from Marquee::Plugin and implements the following new ones.

register

Register the plugin.

$self->register($app);

serve_index

Serves index of markdown files.

$plugin->serve_index;

serve_markdown

Parse markdown for given path and generate HTML.

$plugin->serve_markdown('/path/to/markdown.md');

SEE ALSO

Marquee, Mojolicious