#=============================================================================== # # DESCRIPTION: keyboard input # # AUTHOR: Aliaksandr P. Zahatski, #=============================================================================== package Perl6::Pod::FormattingCode::K; =pod =head1 NAME Perl6::Pod::FormattingCode::K - keyboard input =head1 SYNOPSIS Do you want additional personnel details? K =head1 DESCRIPTION The CE> formatting code specifies that the contained text is B; that is: something that a user might type in. Such content would typically be rendered in a fixed-width font (preferably a different font from that used for the CE> formatting code) or with C< EkbdE...E/kbdE > tags. The contents of a CE> code are always space-preserved. The CE> code is the inline equivalent of the C<=input> block. =cut use warnings; use strict; use Data::Dumper; use Perl6::Pod::FormattingCode; use base 'Perl6::Pod::FormattingCode'; our $VERSION = '0.01'; =head2 to_xhtml K Render xhtml: test =cut sub to_xhtml { my ( $self, $to ) = @_; my $w = $to->w; $w->raw(""); $to->visit_childs($self); $w->raw(''); } =head2 to_docbook K Render to test L =cut sub to_docbook { my ( $self, $to ) = @_; my $w = $to->w; $w->raw(""); $to->visit_childs($self); $w->raw(''); } 1; __END__ =head1 SEE ALSO L, Perldoc Pod to HTML converter: L, Perl6::Pod::Lib =head1 AUTHOR Zahatski Aliaksandr, =head1 COPYRIGHT AND LICENSE Copyright (C) 2009-2015 by Zahatski Aliaksandr This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. =cut