Open alexguja opened 2 years ago
Hello, feel free to help us open a PR to that! ❤️
Hey Mario,
I did some digging and it seems like the issue comes from this line in mdBook
ace_theme = "ace/theme/tomorrow_night";
should probably say
ace_theme = "ace/theme/ayu_highlight"
;
However, it seems like the ayu theme is missing from the ace themes
For reference, I found a related issue in the mdBook
repo
I am not entirely sure how mdBook
works just yet, so if nobody beats me to it I'll try to open a PR
It seems like changing the theme of the site doesn't have much effect on the code syntax highlight. For instance, when selecting the Ayu theme, the code theme defaults to a different theme.
See below. It seems like the code theme is Coal, but it should be Ayu.