mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
restore support for markdown speaker notes
This commit is contained in:
parent
13f7e69c9c
commit
f618de81de
8 changed files with 9 additions and 7 deletions
|
|
@ -1,5 +1,7 @@
|
|||
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 ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue