cl-closure-template
cl-closure-template copied to clipboard
Common Lisp implementation of Google's Closure Templates.
Please consider adding :description, :author and :license information to your ASDF system(s). This will greatly help Quicklisp users and make it easier for them to report bugs. More information: http://blog.quicklisp.org/2015/05/looking-for-more-metadata.html...
Templates that uses \r\n instead of \n can't be parsed.
It would be nice to have documentation of any differences from Google's implementation. For example, auto-escaping seems to work very differently than Google's implementation, but there is no documentation of...
Например проходя по списку опций, я бы хотел в случае если используются дополнительные настройки элемента - представлять его списком, концептуально использование я вижу так: {foreach $option in $options} {if isList($option)}...
Очень нужен атрибут позволяющий сохранять форматирование в шаблонах. Например, для того, чтобы не повторять всё время команду {\n}. Параметр можно назвать как-нибудь вроде saveFormating и применять при определении шаблонов: {template...
Делаю так: //Шаблон: {template experiment2} {foreach $loc in $array} loc.val is a {$loc.val} index = {index($loc)}{\n} {ifempty} some {/foreach} {/template} Вызов: (examples.simple:experiment2 '(:array ((:val 1) (:val 2) (:val 3))) )...
The template file: ``` {namespace ns} {template callee} {/template} {template caller} {call callee} {/call} {/template} ``` Being runned with the following code: ``` (require 'asdf) (asdf:operate 'asdf:load-op '#:closure-template) (print (closure-template:compile-template...
Emacs mode not recognises {css } and {msg} closure template commands
Hi, I could not find a way to insert injected data. Has it been implemented?
При форматировании следущего кода ` {if $condition} Some text Another text {/if} ` {if} и {/if} оказываются на разных уровнях, а так же ``-шки выравниваются неодинаково.