This repository contains the source code for themes for the Prism syntax highlighting library based on the wonderful Material theme!
The themes are available on npm
:
npm install prism-material-themes
The themes are located in the package's themes/
directory in the form of CSS files.
You can copy the theme you'd like to use into your project and use it like so:
<!DOCTYPE html>
<html>
<head>
...
<link href="themes/material-default.css" rel="stylesheet" />
</head>
<body>
...
<script src="prism.js"></script>
</body>
</html>
import 'prism-material-themes/themes/material-default.css';