---
name: "MojoMojo::Formatter::Textile"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Formatter::Textile"
---

# MojoMojo::Formatter::Textile(3pm)

Texile+SmartyPants formatting for your content

## 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.
