Commit f618de81 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

restore support for markdown speaker notes

parent 13f7e69c
This diff is collapsed.
This diff is collapsed.
......@@ -44,7 +44,7 @@ export default function( revealElement, options ) {
const Reveal = {};
// The reveal.js version
const VERSION = '4.0.0-dev';
const VERSION = '4.0.0-rc.1';
// Configuration defaults, can be overridden at initialization time
let config,
......
{
"name": "reveal.js",
"version": "4.0.0-dev",
"version": "4.0.0-rc.1",
"description": "The HTML Presentation Framework",
"homepage": "https://revealjs.com",
"subdomain": "revealjs",
......
This diff is collapsed.
This diff is collapsed.
import speakerViewHTML from './speaker-view.html';
import marked from 'marked'
/**
* Handles opening of and synchronization with the reveal.js
* notes window.
......@@ -25,6 +27,7 @@ const Plugin = () => {
}
popup = window.open( 'about:blank', 'reveal.js - Notes', 'width=1100,height=700' );
popup.marked = marked;
popup.document.write( speakerViewHTML );
if( !popup ) {
......
......@@ -334,7 +334,6 @@
<select class="speaker-layout-dropdown"></select>
</div>
<script src="../../plugin/markdown/marked.js"></script>
<script>
(function() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment