From bcc7e544ec7864918e6f75d2a8477d3283c17410 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 28 Jan 2019 13:38:24 -0600 Subject: [PATCH] Add at the readme instructions about how to use the PRISM library. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index c240458..8a1ca0f 100644 --- a/README.md +++ b/README.md @@ -80,3 +80,16 @@ Commit the files with a message on what you deployed with 'git commit -m ' Push the changes to the repo with `git push` If you need to overwrite live configuration (only after confirming you've committed any parts you want to keep) you can use ahoy for that too with `deploy-site-force`. + +## Code Hightlight. + +The [prism.js](https://prismjs.com/) library was added in the site and can be used like this: + +``` +
+  
+    p { color: red }
+  
+
+``` +The suffix of the class needs to be changed depending of the language that is going to be highlighted eg: `language-php`, `language-js` etc.