From 1b9c56ac70d8a0af3cd39ba0d49f7651f6ac8fb4 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 13 Dec 2022 03:00:16 +0100 Subject: Add network.max-redirect, prepend-https options --- doc/config.md | 44 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) (limited to 'doc/config.md') diff --git a/doc/config.md b/doc/config.md index e7f10f82..47ac9f99 100644 --- a/doc/config.md +++ b/doc/config.md @@ -22,6 +22,7 @@ configuration. * [start](Start) * [external](External) +* [network](Network) * [display](Display) * [omnirule](Omnirule) * [siteconf](Siteconf) @@ -32,7 +33,7 @@ configuration. ## Start -Start-up options are to be placed in the section `[start]`. +Start-up options are to be placed in the `[start]` section. Following is a list of start-up options: @@ -69,7 +70,7 @@ called with -r. ## External -External options are to be placed in the section `[external]`. +External options are to be placed in the `[external]` section. Following is a list of external options: @@ -96,9 +97,38 @@ the line number. +## Network + +Network options are to be placed in the `[network]` section. + + + + + + + + + + + + + + + + + + + + + +
**Name****Value****Function**
max-redirectnumberSet the color mode. "auto" for automatic detection, "monochrome" +for black on white, "ansi" for ansi colors, "24bit" for true colors. "8bit" +is currently unimplemented (and falls back to ansi).
prepend-httpsbooleanWhether or not cha should attempt loading "raw" URLs without a scheme as +https (e.g. wikipedia.org as https://wikipedia.org.)
+ ## Display -Display options are to be placed in the section `[display]`. +Display options are to be placed in the `[display]` section. Following is a list of display options: @@ -164,9 +194,9 @@ cells. minimum-contrast number -Specify the minimum number of euclidian distance of the background and -foreground colors on the RGB plane. -1 disables this function (i.e. allows -black letters on black background, etc). +Specify the minimum difference between the luminance (Y) of the background +and the foreground. -1 disables this function (i.e. allows black letters on +black background, etc). @@ -288,7 +318,7 @@ added in the future. ## Stylesheets -User stylesheets must be placed in a section called `[css]`. +User stylesheets are to be placed in the `[css]` section. There are two ways to import user stylesheets: -- cgit 1.4.1-2-gfad0