|
@@ -30,8 +30,8 @@
|
|
* element. Normalizes leading tabs/whitespace.
|
|
* element. Normalizes leading tabs/whitespace.
|
|
*/
|
|
*/
|
|
function getMarkdownFromSlide( section ) {
|
|
function getMarkdownFromSlide( section ) {
|
|
-
|
|
+
|
|
- var template = section.querySelector( 'script' );
|
|
+ var template = section.querySelector( '[data-tempate]' ) || section.querySelector( 'script' );
|
|
|
|
|
|
|
|
|
|
var text = ( template || section ).textContent;
|
|
var text = ( template || section ).textContent;
|