Presentation creation

Typically, to instantiate the CodeMirror editor, you create a <textarea> element with the initial editor content and call the following JS code:

varmyCodeMirror = CodeMirror.fromTextArea(myTextArea);

Creating a presentation is just as easy: you create a <textarea> with the initial content of the editor and add the presentation script there, separating these sections with the @@@ line:


&lt;div class="content"&gt;



type: Hello world

wait: 1000

tooltip: Sample tooltip


To initialize the video, you need to call the () method, passing the first parameter the ID of the <textarea> element or the element itself:

varmovie ='code');

// start playback;