Closed yama closed 6 years ago
https://www.smarty.net/docsv2/en/language.function.literal.tpl Other way
<@LITERAL>
[[Snippet call]]
[*content tags*]
{{Chunk}}
<@ENDLITERAL>
<@LITERAL>
<div id="app">
{{ message }}
</div>
<@ENDLITERAL>
Can solve batting of vue.js and chunk
What's the point @yama ?
You can display Evo tags anyway - I re-built the English documentation completely and didn't have any problems in displaying tags.
Simply use the character entity - example here
Another example is the actual Evo Tags page
I like the second one yama. This way you just need to wrap it :-)
@yama And what if use this syntax?
<evo:if $id = 1 >
...
<evo:elseif $id >5 >
...
<evo:else>
...
</evo:if>
or
<evo:if cond="$id = 1">
...
<evo:elseif cond="$id >5">
...
<evo:else>
...
</evo:if>
or
<evo:literal>
...
</evo:literal>
or
<e:if > => <evo:if >
Nice idea, thanks!
codemirror autoformat code))
Ctr+A and Shift+Tab
thanks more hint
@modxuser
Thanks for reply. I think that it is difficult to memorize numbers such as [
. If possible, simple way is better. It is also necessary to write Smarty document, code of vue.js and so on.
@yama It would be nice if you make an event for the mergeConditionalTagsContent function, for custom plugins.
Thanks nice idea @64j , For example, we can make the following functions for only myrself.
<@HTMLSPECIALCHARS>
This is html tags tutorial
<abc><def><ghi><etc>
<@ENDHTMLSPECIALCHARS>
Write tags with escaping backslashes. Then we can display the tag as it is. It's convenient for making EVO documents. ok?