https://github.com/bleargh45/template-plugin-trac
Template::Toolkit filter for Text::Trac
https://github.com/bleargh45/template-plugin-trac
template-toolkit trac
Last synced: over 1 year ago
JSON representation
Template::Toolkit filter for Text::Trac
- Host: GitHub
- URL: https://github.com/bleargh45/template-plugin-trac
- Owner: bleargh45
- Created: 2021-01-10T04:34:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T15:00:58.000Z (over 2 years ago)
- Last Synced: 2025-01-29T05:13:55.826Z (over 1 year ago)
- Topics: template-toolkit, trac
- Language: Perl
- Homepage: http://metacpan.org/release/Template-Plugin-Trac/
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# NAME
Template::Plugin::Trac - Template::Toolkit filter for Text::Trac
# SYNOPSIS
```
[% USE Trac %]
...
[% FILTER trac %]
= Heading One =
== Heading Two ==
[% END %]
...
[% text | trac %]
```
# DESCRIPTION
`Template::Plugin::Trac` is a plugin for `Template::Toolkit`, which formats
your text using Trac's WikiFormatting style.
# METHODS
- init()
Initializes the template plugin.
- filter($txt, $args, $config)
Filters the given text, by running it through `Text::Trac`.
# AUTHOR
Graham TerMarsch
# COPYRIGHT
Copyright (C) 2006-2007, Graham TerMarsch. All rights Reserved.
This is free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
# SEE ALSO
- [Text::Trac](https://metacpan.org/pod/Text%3A%3ATrac)
- [Template::Plugin::Filter](https://metacpan.org/pod/Template%3A%3APlugin%3A%3AFilter)