jelix/diff-plugin

a plugin for Jelix or Castor to render show differences between two content in a template

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:jelix-module

v1.7.0 2015-06-05 16:33 UTC

README

This is a plugin for jTpl or Castor, the template engine used by Jelix.

This plugin allows to show differences between two contents in a template.

This plugin is for Jelix 1.7.x and higher. See the jelix/jelix repository to see its history before Jelix 1.7.

installation

Install it by hands like any other Jelix plugins, or use Composer if you installed Jelix 1.7+ with Composer.

In your project:

composer require "jelix/diff-plugin:1.7.0"

Usage in a template:

 <div>
    {diff $firstcontent, $secondcontent}
 </div>

See Jelix manual for more examples.