/scalate-website/src/documentation/htmlConvert.page
http://github.com/scalate/scalate · Visualforce Page · 38 lines · 26 code · 12 blank · 0 comment · 0 complexity · c0d243bc142b147b2d1c20d2674efe2d MD5 · raw file
- ---
- title: JSP Converter
- in_menu: false
- sort_info: 2
- --- name:overview
- # HTML Convert
- Lets get that HTML markup nice and DRY!
- --- name:content pipeline:jade
- .left
- :markdown
- # Overview
- .right
- :markdown
- HTML Converter is a little tool for converting your HTML into the nice DRY form using either [Jade](jade.html) or [Scaml](scaml-reference.html) syntax.
- First you need to install the [Scalate tool](tool.html)
- .left
- :markdown
- # Using HTML Converter
- .right
- :markdown
- To convert the HTML files in a directory just type
- scalate tojade foo.html bar.jade
-
- To convert a HTML file to the [Jade](jade.html) syntax or use
- scalate toscaml foo.html bar.scaml
- To convert to [Scaml](scaml-reference.html) syntax.
- For more details refer to the [Scalate tool](tool.html)