mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-11 17:14:57 +02:00
self-execute data-markdown
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// From https://gist.github.com/1343518, modified to not load showdown
|
// From https://gist.github.com/1343518, modified to not load showdown
|
||||||
(function boom(){
|
(function(){
|
||||||
|
|
||||||
[].forEach.call( document.querySelectorAll('[data-markdown]'), function fn(elem){
|
[].forEach.call( document.querySelectorAll('[data-markdown]'), function fn(elem){
|
||||||
|
|
||||||
@@ -16,4 +16,4 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}());
|
})();
|
Reference in New Issue
Block a user