Skip to content

SQL Preview document generation

Tako Lee edited this page Apr 21, 2014 · 16 revisions

Generate a "SQL coding standard and guideline" html document based on sql format options user selected via this web app: sql style: http://wangz.net/sqlstyle/

User can set format options one by one, or just open an existing json file using this web app to load preset format option values.

https://github.com/sqlparser/sql-pretty-printer/blob/master/sqlFormatOption.json

  1. Generate a single html file, css should be included inline.
  2. Use javascript to generate this html file from existing json format content.
Clone this wiki locally