소스 검색

restore support for markdown speaker notes

Hakim El Hattab 5 년 전
부모
커밋
f618de81de
8개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/reveal.esm.js
  2. 0 0
      dist/reveal.js
  3. 1 1
      js/reveal.js
  4. 1 1
      package.json
  5. 0 0
      plugin/notes/notes.esm.js
  6. 0 0
      plugin/notes/notes.js
  7. 3 0
      plugin/notes/plugin.js
  8. 0 1
      plugin/notes/speaker-view.html

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/reveal.esm.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/reveal.js


+ 1 - 1
js/reveal.js

@@ -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,

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "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",

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
plugin/notes/notes.esm.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
plugin/notes/notes.js


+ 3 - 0
plugin/notes/plugin.js

@@ -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 ) {

+ 0 - 1
plugin/notes/speaker-view.html

@@ -334,7 +334,6 @@
 			<select class="speaker-layout-dropdown"></select>
 		</div>
 
-		<script src="../../plugin/markdown/marked.js"></script>
 		<script>
 
 			(function() {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.