diff --git a/docs/pandoc/inline-code-style.css b/docs/pandoc/inline-code-style.css new file mode 100644 index 0000000..cdcae1e --- /dev/null +++ b/docs/pandoc/inline-code-style.css @@ -0,0 +1,6 @@ +code { + background-color: var(--bg); + border-radius: 5em / 10em; + padding-left: 0.3em; + padding-right: 0.3em; +} diff --git a/docs/wiki/ddns/njalla/index.md b/docs/wiki/ddns/njalla/index.md index 149e473..3c31173 100644 --- a/docs/wiki/ddns/njalla/index.md +++ b/docs/wiki/ddns/njalla/index.md @@ -46,7 +46,7 @@ After rebuilding, you can check the output of the DDNS script: Where you should see something like: -``` +```default Mar 03 21:05:00 pi systemd[1]: Starting Sets the Njalla DDNS records... Mar 03 21:05:02 pi ddns-njalla[26842]: {"status": 200, "message": "record updated", "value": {"A": "93.184.216.34"}} Mar 03 21:05:02 pi ddns-njalla[26845]: {"status": 200, "message": "record updated", "value": {"A": "93.184.216.34"}} diff --git a/docs/wiki/vpn/ports/index.md b/docs/wiki/vpn/ports/index.md index dd75834..0389285 100644 --- a/docs/wiki/vpn/ports/index.md +++ b/docs/wiki/vpn/ports/index.md @@ -60,6 +60,12 @@ You can then run the following from any computer: Where the "`public VPN ip`" is the public IP of your VPN address, i.e. the one shown in the `vpn-test-service` logs as your ip: +```sh + journalctl -xeu vpn-test-service +``` + +Which should look something like: + ```default ; <<>> DiG 9.18.27 <<>> google.com @@ -93,10 +99,4 @@ one shown in the `vpn-test-service` logs as your ip: > from country B, while I'm located in country A. Take the conclusion with a > grain of salt -Here, your "`public VPN ip`" would be "`12.34.56.78`". Upon succesful -connection type messages that _should_ show up in the `vpn-test-service` -logs. Reminder, to check the logs: - -```sh - journalctl -xeu vpn-test-service -``` +Here, your "`public VPN ip`" would be "`12.34.56.78`". diff --git a/mkDocs.nix b/mkDocs.nix index 5136483..a15eea7 100644 --- a/mkDocs.nix +++ b/mkDocs.nix @@ -45,6 +45,7 @@ in --highlight-style docs/pandoc/gruvbox.theme \ --lua-filter docs/pandoc/lua/anchor-links.lua \ --css /docs/pandoc/style.css \ + --css /docs/pandoc/inline-code-style.css \ --template docs/pandoc/template.html \ -V lang=en \ -V --mathjax \