restore support for markdown speaker notes
This commit is contained in:
parent
13f7e69c9c
commit
f618de81de
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -44,7 +44,7 @@ export default function( revealElement, options ) {
|
||||||
const Reveal = {};
|
const Reveal = {};
|
||||||
|
|
||||||
// The reveal.js version
|
// 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
|
// Configuration defaults, can be overridden at initialization time
|
||||||
let config,
|
let config,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "reveal.js",
|
"name": "reveal.js",
|
||||||
"version": "4.0.0-dev",
|
"version": "4.0.0-rc.1",
|
||||||
"description": "The HTML Presentation Framework",
|
"description": "The HTML Presentation Framework",
|
||||||
"homepage": "https://revealjs.com",
|
"homepage": "https://revealjs.com",
|
||||||
"subdomain": "revealjs",
|
"subdomain": "revealjs",
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,7 @@
|
||||||
import speakerViewHTML from './speaker-view.html';
|
import speakerViewHTML from './speaker-view.html';
|
||||||
|
|
||||||
|
import marked from 'marked'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles opening of and synchronization with the reveal.js
|
* Handles opening of and synchronization with the reveal.js
|
||||||
* notes window.
|
* notes window.
|
||||||
|
@ -25,6 +27,7 @@ const Plugin = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
popup = window.open( 'about:blank', 'reveal.js - Notes', 'width=1100,height=700' );
|
popup = window.open( 'about:blank', 'reveal.js - Notes', 'width=1100,height=700' );
|
||||||
|
popup.marked = marked;
|
||||||
popup.document.write( speakerViewHTML );
|
popup.document.write( speakerViewHTML );
|
||||||
|
|
||||||
if( !popup ) {
|
if( !popup ) {
|
||||||
|
|
|
@ -334,7 +334,6 @@
|
||||||
<select class="speaker-layout-dropdown"></select>
|
<select class="speaker-layout-dropdown"></select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../../plugin/markdown/marked.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
Loading…
Reference in New Issue