NAME
App::Codit::Plugins::Exporter - plugin for App::Codit
DESCRIPTION
Export your document to HTML or PNG.
DETAILS
Plugin Exporter allows you to export the current selected document to HTML or PNG. You will find two entries for this in the File menu:
- Export to HTML
-
Exporting to html is done using the standard facilities available in <LSyntax::Kamelon>. We are looking to extend that in future versions.
A form will pop up where you can set:
- Output file
-
A default file is suggested. Change it if you like.
- Theme
-
Pick one of the available themes.
- Line numbers
-
Tick this if you want line numbers displayed in the left column.
- Fold markers
-
Tick this if you want fold markers displayed in the left column.
- Scrolled pane
-
Tick this if you want the content to appear in a scrollable pane.
- Export to PNG
-
A form will pop up. All your changes except for Output file are saved. You can set:
- Output file
-
A default file is suggested. Change it if you like.
- Background
-
Background color of your image. By default the background color of the Tk::CodeText widget is set.
- Foreground
-
Default color of the text in your image. By default the foreground color of the Tk::CodeText widget is set.
- Theme file
-
Select the Tk::CodeText theme file (extension '.ctt') to use for syntax highlighting. By default the theme file used in the Tk::CodeText widget is set. You can create your custom theme file through Menu->Codit->Settings and select the highlighting panel.
- Font
-
Set the font used to draw text in your image. By default the font of the Tk::CodeText widget is set.
- Line numbers
-
Tick this if you want line numbers displayed in the left column.
- Tab size
-
Set the size of tabs in characters.
- Max width
-
If set to 0 the image will grow in width whenever needed. Otherwise it will wrap text when the max width (in pixels) has been reached.
- Margins
-
Set the top, left, bottom and right margins around your image.
Beware! Exporting to PNG is painstakingly slow.
LICENSE
Same as Perl.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
TODO
BUGS AND CAVEATS
If you find any bugs, please contact the author.