Skip to content

Plixo2/vs-factory-support

Repository files navigation

Visual Studio Code Factory Transpiler Support

Badge Badge

supports

  • conversion from factory to html
    • normal tags, singletons and text
  • auto formatting
  • error detection

Syntax

meta(charset="UTF-8")
div(a="a") {
    div(b="b") {
        div(c="c" test) {
            "text"
            auto-formated() {

            }
        }
    }
    button(class="rounded") {
        "Click Me"
    }
}
div(a="b" *ngIf="showHello") {
    "hello"
    br()
    img(src="picture.png")
}

Output

<meta charset="UTF-8" />
<div a="a">
    <div b="b">
        <div c="c" test>
            text
            <auto-formated> </auto-formated>
        </div>
    </div>
    <button class="rounded">Click Me</button>
</div>
<div a="b" *ngIf="showHello">
    hello
    <br />
    <img src="picture.png" />
</div>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published