aumcode/nfx

JS Compiler: add support of NFX markup

Closed this issue · 3 comments

Please, add to JS Compiler support of NFX markup.

Please provide example

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>

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>