MommaWatasu / OteraEngine.jl

This package is a template engine for Julia Lang.
https://mommawatasu.github.io/OteraEngine.jl/stable
MIT License
20 stars 4 forks source link

{{ }} or {% %} doesn't seem to do anything #6

Closed edyu closed 1 year ago

edyu commented 1 year ago

In jinja normally you'd use

{{ }}
and
{% %}
for code interpretation and it seems only
``` ```
works.

MommaWatasu commented 1 year ago

I don’t know whether you know that

``` ```

can be changed to whatever you like.

Certainly, the current function is so poor that I’ll improve it. Please wait.

edyu commented 1 year ago

I do know

``` ```
. Originally I thought because it's a jinja template language it's it's in addition to these. I'll close this one and just focus on the other one. The reason for {% and {{ is to be able to have control statements in {% and then variable substitution to work but I guess you can use ``` to replace {{ }} but not {%.