aumcode / nfx

C# Server UNISTACK framework [MOVED]
https://github.com/agnicore/nfx
Other
391 stars 93 forks source link

JS Compiler: add support of NFX markup #52

Closed vlapchenko closed 7 years ago

vlapchenko commented 7 years ago

Please, add to JS Compiler support of NFX markup.

itadapter commented 7 years ago

Please provide example

vlapchenko commented 7 years ago

For example, the statement

/***
span="Do you really want to {exit}.b" {}
***/

must be finally translated into:

<span>Do you really want to <span class="wv-markup-b">exit</span></span>
OlegPanagushin commented 7 years ago

i've added special node named "ljstext". Below you could see how to use it.

/***
span {
    ljstext="Do you really want to " {}
    span="exit" {
        class="wv-markup-b"
    }
}
***/

translate into:

<span>
    Do you really want to <span class="wv-markup-b">exit</span>
</span>