PrePAN

Sign in to PrePAN

Template::Plugin::Filter::PlantUML A template toolkit plugin filter for encoding and processing PlantUML Diagrams

Good

Synopsis

[% USE Filter.PlantUML 'http://www.plantuml.com/plantuml' 'svg' -%]

[% url = FILTER plantuml %]
  Bob -> Alice : hello
[% END %]

<img src="[% url %]" alt="[% url %]" />

Description

This is a trivial Template::Toolkit plugin filter to allow any template writer to embed PlantUML Diagram Syntax in Templates and have them encoded and processed via any PlantUML Server in any supported formats.

It uses WWW:PlantUML remote client under the hood.

The author got his inspiration from XSAWYERX's Template::Plugin::xkcd

Comments

Please sign up to post a review.