The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Khonsu::Syntax - Khonsu PDF Generation Syntax Highlighting Plugin/Component

VERSION

Version 0.01

SYNOPSIS

use khonsu;

Khonsu->load_plugin(qw/+Syntax/);

my $k = Khonsu->new('test', page_args => {padding => 20});

my $json = q|{
	"one": 1,
	"two": 2,
	"three": 3,
	"four": 4
}|;

$k->add_syntax(
	syntax => 'JSON',
	line_numbers => 1,
	text => $json
);

$k->save();

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-khonsu-syntax at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Khonsu-Syntax. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Khonsu::Syntax

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2023 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)