Skip to content

Instantly share code, notes, and snippets.

@ckhung
Last active April 3, 2016 07:54
Show Gist options
  • Save ckhung/43b5b8fa90d8ee0dce68 to your computer and use it in GitHub Desktop.
Save ckhung/43b5b8fa90d8ee0dce68 to your computer and use it in GitHub Desktop.
tidy configuration file
# 詳見 「既輕鬆上手又無限擴充的跨平臺文字編輯器 geany」
# http://newtoypia.blogspot.tw/2016/03/geany.html
tidy-mark: yes
markup: yes
wrap: 40
tab-size: 8
indent: auto
indent-spaces: 2
output-xhtml: yes
doctype: loose
char-encoding: utf8
clean: yes
logical-emphasis: yes
# write-back: yes
keep-time: yes
# https://gist.github.com/paultreny/9822049
# https://stackoverflow.com/questions/12061721/prevent-html-tidy-from-stripping-php
new-blocklevel-tags: article,aside,command,canvas,dialog,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,meter
new-inline-tags: video,audio,canvas,ruby,rt,rp,time,meter,progress,datalist,keygen,mark,output,source,wbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment