++ed by:
BEROV

1 PAUSE user

Jan Henning Thorsen

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