diff options
author | tdro <tdro@users.noreply.github.com> | 2022-04-02 17:05:02 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-04-02 17:06:02 -0400 |
commit | 49a7433cd7b6e4cd434d22cec8730a086906f345 (patch) | |
tree | aa7d86883f579712142ea7e38bec8a49c979bec2 | |
parent | d5aad1dc5d28f5983bd074e350280f8e76355a5f (diff) | |
download | dotfiles-49a7433cd7b6e4cd434d22cec8730a086906f345.tar.gz dotfiles-49a7433cd7b6e4cd434d22cec8730a086906f345.tar.bz2 dotfiles-49a7433cd7b6e4cd434d22cec8730a086906f345.zip |
.config: Add default html tidy configuration
-rw-r--r-- | .config/tidy/default.conf | 12 | ||||
-rwxr-xr-x | .local/bin/wrappers/tidy | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.config/tidy/default.conf b/.config/tidy/default.conf new file mode 100644 index 0000000..67a11e7 --- /dev/null +++ b/.config/tidy/default.conf @@ -0,0 +1,12 @@ +accessibility-check: 0 +ascii-chars: yes +clean: yes +custom-tags: blocklevel +fix-style-tags: no +indent-spaces: 2 +indent: yes +markup: no +quiet: yes +show-body-only: yes +vertical-space: yes +wrap: 80 diff --git a/.local/bin/wrappers/tidy b/.local/bin/wrappers/tidy new file mode 100755 index 0000000..d3a0aa4 --- /dev/null +++ b/.local/bin/wrappers/tidy @@ -0,0 +1,3 @@ +#!/bin/sh -eu +$(which tidy --all | grep --invert-match "local/bin" | head -n 1) \ + -config "$HOME/.config/tidy/default.conf" "$@" |