NAME
Perl6::Pod::FormattingCode::S - Space-preserving text
SYNOPSIS
The emergency signal is: S<
dot dot dot dash dash dash dot dot dot>.
DESCRIPTION
Any text enclosed in an S<>
code is formatted normally, except that every whitespace character in it—including any newline—is preserved. These characters are also treated as being non-breaking (except for the newlines, of course). For example:
The emergency signal is: S<
dot dot dot dash dash dash dot dot dot>.
would be formatted like so:
The emergency signal is:
dot dot dot dash dash dash dot dot dot.
rather than:
The emergency signal is: dot dot dot dash dash dash dot dot dot.
to_xhtml
I<test>
Render xhtml:
<em>test</em>
to_docbook
S<test>
Render to
<literallayout>test</literallayout>
http://www.docbook.org/tdg/en/html/literallayout.html
SEE ALSO
http://zag.ru/perl6-pod/S26.html, Perldoc Pod to HTML converter: http://zag.ru/perl6-pod/, Perl6::Pod::Lib
AUTHOR
Zahatski Aliaksandr, <zag@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009-2011 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.