Add to your li3 project in the
libraries/jade/folder and adjust the bootstrap/libraries.php file
//Jade Libraries::add('jade'); Libraries::add('li3_jade');
A jade library configured to work with li3_jade can be found here
:php | echo "This is inline php." h2 The Jade template engine Rocks p(style='white-space:pre;') | Jade makes writing HTML EASY and Beautiful | If you don't know about it a(href="http://jade-lang.com/") Get on it!
renders
This is inline php. <h2>The Jade template engine</h2> <p style="white-space:pre;"> Jade makes writing HTML EASY and Beautiful If you don't know about it <a href="http://jade-lang.com/">Get on it!</a> </p>
<?php namespace app\controllers; Class JadeController extends \lithium\action\Controller { public function index() { $this->render(array( 'template' => 'myjadetemplate', 'type' => 'jade', )); } } ?>