From 1e852f9dc5abd7bd7d57164af08a72f105c90500 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Wed, 25 Jan 2023 18:13:38 -0800 Subject: [PATCH] Tweak theme list --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 907b7e9f..cb214556 100644 --- a/README.md +++ b/README.md @@ -131,15 +131,17 @@ Commonmarker.to_html(code, plugins: { syntax_highlighter: nil }) Commonmarker.to_html(code, plugins: { syntax_highlighter: { theme: nil } }) ``` -Available themes ([source](https://docs.rs/syntect/5.0.0/syntect/highlighting/struct.ThemeSet.html#implementations)): - -- base16-ocean.dark -- base16-eighties.dark -- base16-mocha.dark -- base16-ocean.light -- InspiredGitHub -- Solarized (dark) -- Solarized (light) +##### Available themes + +Here's [a list of available themes](https://docs.rs/syntect/5.0.0/syntect/highlighting/struct.ThemeSet.html#implementations): + +- `"base16-ocean.dark"` +- `"base16-eighties.dark"` +- `"base16-mocha.dark"` +- `"base16-ocean.light"` +- `"InspiredGitHub"` +- `"Solarized (dark)"` +- `"Solarized (light)"` ## Output formats