1.2.3 • Published 2 years ago

factory-vscode-support v1.2.3

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Visual Studio Code Factory Transpiler Support

Badge Badge

supports

  • file conversion task
  • file conversion command
  • conversion from factory to html
    • normal tags, singletons and text
  • auto formatting
  • error detection (wip)

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>
1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago