How can I change the template mechanism in Play! to a different engine than the default? Can you give an example?
I don’t even ask why you want to do this.
It's simple, Play can return Resultwith ANY content that you give it to him, so you can just use:
Result
return ok("<h1>Code rendered from your alternative engine</h1>").as("text/html");
It depends on which template engine you want to use. There are several options in the Playback Modules Catalog .
Source: https://habr.com/ru/post/1528217/More articles:Installed gem, but receiving cannot load such a file - ruby | fooobar.comЗапретить отображение tmux "Активность в окне n" - configurationDeep link Facebook always opens the Google Play store - androidIs it possible to create a flash drive login system that does not use a client-side session / cookie? - pythonГлубокая ссылка Facebook открывает Google Play вместо приложения (даже если установлено) - androidIs there something like jQuery.active in angularjs? - javascriptHow to use jquery and wp_enqueue_script - javascriptMongoose - find documents containing a link to subdocuments - node.jsOr in unpacked vectors - algebraic-data-typescross-compiling freetype for DOS with OpenWatcom on Linux - dosAll Articles