3 \page tidy_config Configuration
5 Configuration settings and files
9 To get a list of all configuration settings, see \ref config_options below or use:
14 \section using_config Using a configuration file
16 The most convenient way to configure Tidy is by using separate configuration file.
18 Assuming you have created a Tidy configuration file named `myconfig.txt` (the name and extension don’t matter), you can instruct Tidy to use it via the
19 command line option `-config myconfig.txt` for example:
22 tidy -config myconfig.txt file1.html file2.html
25 Alternatively, you can name the default config file via the environment
26 variable named `HTML_TIDY`, the value of which is the absolute path for the config file.
28 You can also set config options on the command line by preceding the name of the option
29 immediately (no intervening space) with the string “--”; for example:
32 tidy --break-before-br true --show-warnings false
35 You can find documentation for full set of configuration options on the \ref quick_ref page.
37 \section example_config Example Configuration File
39 \include example_config.txt
41 \section config_options Config Options
43 \htmlinclude tidy5.config.txt