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

NAME

Yukki::Web::Plugin::SyntaxHighlight - add syntax highlighting to wiki pages

VERSION

version 0.991_003

SYNOPSIS

  <div>{{highlight:Perl:
  use v5.14;
  use Moo;

  has something => ( is => 'ro' );
  }}</div>

  <span>{{highlight:JavaScript:window.location.hash = '#foo'}}</span>

  {{highlight-div:Perl:
  use v5.14;
  use Moo;

  has something => ( is => 'ro' );
  }}

  {{highlight-span:JavaScript:window.location.hash = '#foo'}}

DESCRIPTION

Performs syntax highlighting of text. This is able to highlight all the file types listed here with teh Syntax::Highlight::Engine::Kate module:

ATTRIBUTES

format_helpers

Sets up the "highlight" helper.

METHODS

highlight_syntax

This is used to format the double-curly brace {{highlight:...}}. Do not use.

highlight_syntax_asis

This is used to format the double-curly brace {{highlight-asis:...}}. Do not use.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.