aboutsummaryrefslogtreecommitdiff
path: root/tidy
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:36:09 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:36:09 +1300
commitd2b59a3747932262ce14fd70e909c2633f25e937 (patch)
treebafb487b6aac67d9920ffc80f8ab8ccdddaa981b /tidy
parentMerge branch 'release/v0.5.0' (diff)
parentBump version number to 0.6.0 (diff)
downloaddotfiles-d2b59a3747932262ce14fd70e909c2633f25e937.tar.gz
dotfiles-d2b59a3747932262ce14fd70e909c2633f25e937.zip
Merge branch 'release/v0.6.0'v0.6.0
* release/v0.6.0: Bump version number to 0.6.0 Add ~/.tidyrc and accompanying Makefile target
Diffstat (limited to 'tidy')
-rw-r--r--tidy/profile.d/tidy.sh3
-rw-r--r--tidy/tidyrc20
2 files changed, 23 insertions, 0 deletions
diff --git a/tidy/profile.d/tidy.sh b/tidy/profile.d/tidy.sh
new file mode 100644
index 00000000..177a8124
--- /dev/null
+++ b/tidy/profile.d/tidy.sh
@@ -0,0 +1,3 @@
+# Set a configuration file path for tidy(1)
+HTML_TIDY=$HOME/.tidyrc
+export HTML_TIDY
diff --git a/tidy/tidyrc b/tidy/tidyrc
new file mode 100644
index 00000000..65f93112
--- /dev/null
+++ b/tidy/tidyrc
@@ -0,0 +1,20 @@
+# UTF-8 everywhere by default
+char-encoding: utf8
+input-encoding: utf8
+output-encoding: utf8
+
+# Seems reasonable
+drop-empty-paras: yes
+
+# Indent to four spaces
+indent: yes
+indent-spaces: 4
+
+# Shut up please
+quiet: yes
+
+# Don't mess with my <meta>
+tidy-mark: no
+
+# Don't wrap
+wrap: 0