mirror of https://github.com/status-im/codimd.git
Fix syntax highlighting not apply correctly in slides
This commit is contained in:
parent
8c5a5a0712
commit
793aef0e2e
|
@ -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">
|
||||
|
@ -37,9 +40,6 @@
|
|||
<link rel="stylesheet" href='<%- url %>/vendor/emojify.js/dist/css/basic/emojify.min.css'>
|
||||
|
||||
<%- include build/slide-header %>
|
||||
|
||||
<!-- For syntax highlighting -->
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/reveal.js/lib/css/zenburn.css">
|
||||
|
||||
<!-- Printing and PDF exports -->
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue