The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Plugin::LinkEmbedder::Link::Text - Text URL

DESCRIPTION

This class inherit from Mojolicious::Plugin::LinkEmbedder::Link.

Example styling

  .link-embedder .text-paste{background: #eee;border: 1px solid #ccc;}
  .link-embedder .text-paste .paste-meta{border-bottom: 1px solid #ccc;padding: 4px;}
  .link-embedder .text-paste pre{padding: 4px;margin:0;max-height: 240px;overflow:auto;}

METHODS

raw_url

to_embed

Returns the HTML code for a script tag that writes the gist.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org