Fix syntax highlighting not apply correctly in slides
This commit is contained in:
parent
8c5a5a0712
commit
793aef0e2e
4 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
require('prismjs/themes/prism.css');
|
||||
require('highlight.js/styles/github-gist.css');
|
||||
|
||||
var Prism = require('prismjs');
|
||||
require('prismjs/components/prism-wiki');
|
||||
|
|
|
@ -6,6 +6,8 @@ require('../css/extra.css');
|
|||
require('../css/slide-preview.css');
|
||||
require('../css/site.css');
|
||||
|
||||
require('highlight.js/styles/github-gist.css');
|
||||
|
||||
var toMarkdown = require('to-markdown');
|
||||
|
||||
var saveAs = require('file-saver').saveAs;
|
||||
|
|
|
@ -2,6 +2,8 @@ require('../css/extra.css');
|
|||
require('../css/slide-preview.css');
|
||||
require('../css/site.css');
|
||||
|
||||
require('highlight.js/styles/github-gist.css');
|
||||
|
||||
/* other vendors plugin */
|
||||
var S = require('string');
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
<link rel="stylesheet" href="<%- url %>/vendor/reveal.js/css/reveal.css">
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/reveal.js/css/theme/black.css" id="theme">
|
||||
|
||||
<!-- For syntax highlighting -->
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/reveal.js/lib/css/zenburn.css">
|
||||
|
||||
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
|
||||
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
||||
|
@ -38,9 +41,6 @@
|
|||
|
||||
<%- include build/slide-header %>
|
||||
|
||||
<!-- For syntax highlighting -->
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/reveal.js/lib/css/zenburn.css">
|
||||
|
||||
<!-- Printing and PDF exports -->
|
||||
<script>
|
||||
var link = document.createElement( 'link' );
|
||||
|
|
Loading…
Reference in a new issue