jelix / diff-plugin
a plugin for Jelix or Castor to render show differences between two content in a template
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:jelix-module
This package is auto-updated.
Last update: 2024-10-29 04:09:25 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.