Skip to content

Instantly share code, notes, and snippets.

@ckhung ckhung/tidy.conf
Last active Apr 3, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.