From c2914816e1611e252986cae02da700b95a2ae652 Mon Sep 17 00:00:00 2001 From: zwbetz-gh Date: Wed, 28 Jul 2021 20:52:05 -0500 Subject: [PATCH] how to support more languages with prism --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5bf9733..3365563 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,11 @@ See the [full list of supported shortcodes](https://cupper-hugo-theme.netlify.co Syntax highlighting is provided by [Prism](https://prismjs.com/). See this [markdown code fences example](https://cupper-hugo-theme.netlify.com/cupper-shortcodes/#syntax-highlighting). +By default, only a few languages are supported. If you want to add more, follow these steps: + +1. Select the languages you want from +1. Download the JS file, then copy it to `static/js/prism.js` +1. Download the CSS file, then copy it to `static/css/prism.css` ## Disable toc for a blog post