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