sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit b009080f55883aed87641558b1105cf8a3623ad7
parent db11143178de137e993ff081767fa5c8dbcc7921
Author: Russell Wood <rjw@lab.lan>
Date:   Thu,  5 Sep 2024 21:54:14 +1000

Fix markdown formatting issues.

Diffstat:
Msurf.suckless.org/patches/proxyconfig/index.md | 12+++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/surf.suckless.org/patches/proxyconfig/index.md b/surf.suckless.org/patches/proxyconfig/index.md @@ -1,10 +1,10 @@ Proxy Config -=========== +============ Description ----------- -This patch allows you to specify proxy settings in your config.h file. +This patch allows you to specify proxy settings in your `config.h` file. It supports the three proxy modes in Webkit: @@ -17,11 +17,9 @@ Usage Once the patch is applied, modify the ProxyMode, ProxyUrl and ProxyIgnoreHosts variables as required. For example, if using a custom proxy server then the variables might be set as: -`` -[ProxyIgnoreHosts] = { { .v = (char *[]){ "localhost","local.lan",NULL } }, }, -[ProxyMode] = { { .i = CustomProxy }, }, -[ProxyUrl] = { { .v = (char *) "http://proxy.local.lan:8080/"}, }, -`` + [ProxyIgnoreHosts] = { { .v = (char *[]){ "localhost","local.lan",NULL } }, }, + [ProxyMode] = { { .i = CustomProxy }, }, + [ProxyUrl] = { { .v = (char *) "http://proxy.local.lan:8080/"}, }, The default value is SystemProxy, which preserves the default behavior of surf.