mojomojo::formatter::textile(3pm) [debian man page]
MojoMojo::Formatter::Textile(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Textile(3pm)NAME
MojoMojo::Formatter::Textile - Texile+SmartyPants formatting for your content
DESCRIPTION
This formatter processes content using Text::Textile (a syntax for writing human-friendly formatted text), then post-processes that using
Text::SmartyPants (which transforms plain ASCII punctuation characters into "smart" typographic punctuation HTML entities, such as smart
quotes or the ellipsis character).
Textile reference: <http://hobix.com/textile/>
METHODS
main_format_content
Calls the formatter. Takes a ref to the content as well as the context object. Note that this is different from the format_content method
of non-main formatters. This is because we don't want all main formatters to be called when iterating over pluggable modules in
MojoMojo::Schema::ResultSet::Content::format_content.
"main_format_content" will only be called by <MojoMojo::Formatter::Main>.
SEE ALSO
MojoMojo, Module::Pluggable::Ordered, Text::Textile
AUTHORS
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-04-07 MojoMojo::Formatter::Textile(3pm)
Check Out this Related Man Page
MojoMojo::Formatter::Markdown(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Markdown(3pm)NAME
MojoMojo::Formatter::Markdown - MultiMarkdown formatting for your content. MultiMarkdown is an extension of Markdown, adding support for
tables, footnotes, bibliography, automatic cross-references, glossaries, appendices, definition lists, math syntax, anchor and image
attributes, and document metadata.
Markdown syntax: <http://daringfireball.net/projects/markdown/syntax> MultiMarkdown syntax:
<http://fletcherpenney.net/multimarkdown/users_guide/multimarkdown_syntax_guide/>
DESCRIPTION
This formatter processes content using Text::MultiMarkdown This is a syntax for writing human-friendly formatted text.
METHODS
main_format_content
Calls the formatter. Takes a ref to the content as well as the context object. Note that this is different from the format_content method
of non-main formatters. This is because we don't want all main formatters to be called when iterating over pluggable modules in
MojoMojo::Schema::ResultSet::Content::format_content.
"main_format_content" will only be called by <MojoMojo::Formatter::Main>.
Note that Text::Markdown ensures that the output always ends with one newline. The fact that multiple newlines are collapsed into one
makese sense, because this is the behavior of HTML towards whispace. The fact that there's always a newline at the end makes sense again,
given that the output will always be nested in a block-level element, be it a "<p>" (most often), "<table>", or "<div>" (when passing HTML
through).
SEE ALSO
MojoMojo, Module::Pluggable::Ordered, Text::MultiMarkdown
AUTHORS
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-04-07 MojoMojo::Formatter::Markdown(3pm)
I now have a 230,000+ lines long text file formatted in segments like this:
Is there a way to sort this file to have everything in chronological order, based on the date and time in the text? In this example, I would like the result to be: (19 Replies)
First of all let it be said that I hate sed. Every time I think I've got it figured out it proves me wrong. There, now with that out of the way here's my problem that I'm hoping one of you smart people can solve:
I have a file full of lines like this:
If x=1 then /* this is an if statement */... (10 Replies)