Convert Fluid tags into inline notation.
http://www.fluid-converter.com/
This tool can convert fluid tags <f:myTag myAttr="myAttrVal"/>
to its inline notation {f:myTag(myAttr: 'myAttrVal')}
.
It also converts if
nested tags for example :
<f:if condition="myCond">
<f:then>condition is met</f:then>
<f:else>condition is not met</f:else>
</f:if>
becomes {f:if(condition: 'myCond', then: 'condition is met' else: 'condition is not met')}
.
Another feature produces {foo -> f:format.html()}
from <f:format.html>foo</f:format.html>
- Clone the repository
- Open your terminal and move where you cloned the repository
cd your/project/
- Run
npm install
to install dev dependencies - Run
gulp
and start working - Open your browser and tip localhost:3000