PageRenderTime 82ms CodeModel.GetById 80ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1---
 2title: JSP Converter
 3in_menu: false
 4sort_info: 2
 5--- name:overview
 6# HTML Convert
 7
 8Lets get that HTML markup nice and DRY!
 9
10--- name:content pipeline:jade
11
12.left
13  :markdown
14    # Overview
15.right
16  :markdown
17    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.
18
19    First you need to install the [Scalate tool](tool.html)
20
21.left
22  :markdown
23    # Using HTML Converter
24
25.right
26  :markdown
27    To convert the HTML files in a directory just type
28
29        scalate tojade foo.html bar.jade
30    
31    To convert a HTML file to the [Jade](jade.html) syntax or use 
32
33        scalate toscaml foo.html bar.scaml
34
35    To convert to [Scaml](scaml-reference.html) syntax.
36
37    For more details refer to the [Scalate tool](tool.html)
38