Add at the readme instructions about how to use the PRISM library.

This commit is contained in:
David Valdez 2019-01-28 13:38:24 -06:00
parent 78df70c0bd
commit bcc7e544ec

View file

@ -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:
```
<pre>
<code class="language-css">
p { color: red }
</code>
</pre>
```
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.