Add syntax highlighting for bash code blocks. (Closes #721)

master
Nicolas Garnier 2015-07-06 14:58:46 +02:00 committed by Addy Osmani
parent 11ced2560b
commit 39fdd50599
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@
<script src="{{page.include_prefix}}assets/prism-markup.min.js"></script>
<script src="{{page.include_prefix}}assets/prism-javascript.min.js"></script>
<script src="{{page.include_prefix}}assets/prism-css.min.js"></script>
<script src="{{page.include_prefix}}assets/prism-bash.min.js"></script>
<script src="{{page.include_prefix}}assets/main.js"></script>
<!-- Built with love using Material Design Lite -->
</body>

View File

@ -426,6 +426,7 @@ gulp.task('assets', function () {
'node_modules/prismjs/components/prism-markup.min.js',
'node_modules/prismjs/components/prism-javascript.min.js',
'node_modules/prismjs/components/prism-css.min.js',
'node_modules/prismjs/components/prism-bash.min.js',
'node_modules/prismjs/dist/prism-default/prism-default.css'
])
.pipe($.if(/\.js/i, $.replace('$$version$$', pkg.version)))