From 05d49baa940410f4988823fc64018fb23f9683c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vilius=20=C5=A0umskas?= Date: Sun, 12 Mar 2023 12:19:46 +0200 Subject: [PATCH] Clarify how to build custom Prism.js library --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f8ecfa0..e364591 100644 --- a/README.md +++ b/README.md @@ -444,6 +444,7 @@ To customize the Prism you will need to customize the `prism.js` file. This req Then run the following commands: ```shell +npm ci npm run build npm run start ``` @@ -458,4 +459,4 @@ This pre-configures the languages, plugins, etc. Make your changes, including adding additional languages, plugins etc. Then click **DOWNLOAD JS** and **DOWNLOAD CSS** buttons and upload your copies to a safe location, e.g. `/user/data/prims-highlight/`. -You can then edit the configuration of the `prism-highlight` plugin and point the `custom.js_location` and `custom.css_location` options to the custom file locations (default is already `user://data/prismjs` folder). +You can then edit the configuration of the `prism-highlight` plugin and point the `custom.js_location` and `custom.css_location` options to the custom file locations (default is already `user://data/prism-highlight` folder).