From 966b14d696df6fe1d46a182728035d66f082ec60 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Thu, 8 Aug 2024 10:43:51 +0200 Subject: [PATCH] updated code style in wiki --- docs/pandoc/inline-code-style.css | 6 ++++++ docs/wiki/ddns/njalla/index.md | 2 +- mkDocs.nix | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 docs/pandoc/inline-code-style.css 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/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 \