From 29d8747e0144a3be3f379c1fe22962822dff490f Mon Sep 17 00:00:00 2001 From: boyned//Kampfkarren Date: Mon, 4 Nov 2019 16:14:38 -0800 Subject: [PATCH] Change erroneous syntax highlighting definition Doing what it says results in: ``` 2019-11-04 16:13:15 [WARN] (mdbook::renderer::html_handlebars::hbs_renderer): Previous versions of mdBook erroneously accepted `./src/theme` as an automatic theme directory 2019-11-04 16:13:15 [WARN] (mdbook::renderer::html_handlebars::hbs_renderer): Please move your theme files to `./theme` for them to continue being used ``` --- book-example/src/format/theme/syntax-highlighting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book-example/src/format/theme/syntax-highlighting.md b/book-example/src/format/theme/syntax-highlighting.md index 15392f41..42039cdd 100644 --- a/book-example/src/format/theme/syntax-highlighting.md +++ b/book-example/src/format/theme/syntax-highlighting.md @@ -22,7 +22,7 @@ overridden with your own. If you want to use another theme for `highlight.js` download it from their website, or make it yourself, rename it to `highlight.css` and put it in -`src/theme` (or the equivalent if you changed your source folder) +the `theme` folder of your book. Now your theme will be used instead of the default theme.