From ac7bb055767c8326dd15af90641af6503158be54 Mon Sep 17 00:00:00 2001 From: Francesco Date: Mon, 24 Feb 2025 22:43:50 +0100 Subject: Update wiki --- wiki/features/appearance.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'wiki/features/appearance.md') diff --git a/wiki/features/appearance.md b/wiki/features/appearance.md index 771d250..c67c836 100644 --- a/wiki/features/appearance.md +++ b/wiki/features/appearance.md @@ -69,8 +69,7 @@ I strongly recommend enabling [breadcrumbs](#72-breadcrumbs) if you do so. ## Note on Syntax Highlighting -Some color schemes seems to be broken using this theme, for instance, the default one, Monokai, is not well displayed, as pointed out in [this issue](https://github.com/tomfran/typo/issues/17). -I suggest to try [color schemes](https://xyproto.github.io/splash/docs/all.html) and see what can work for you. +The theme supports syntax highlighting, and you can specify the theme as follows: ```toml [markup] @@ -78,6 +77,14 @@ I suggest to try [color schemes](https://xyproto.github.io/splash/docs/all.html) style = 'algol' ``` +`algol` is the recommended theme, and for it to work, the background-color of the code +elements is enforced. +This has the side effect of breaking other color schemes, e.g. Monokai. + +You can make them work by removing `!important` from the background color of the code pre elements. + +I suggest trying [color schemes](https://xyproto.github.io/splash/docs/all.html) and see what can work for you. + ## Footer Customization One can decide to hide the footer completely or to change it's content by specifying the following parameters. -- cgit v1.2.3