Browse Source

self-execute data-markdown

embed
Hakim El Hattab 12 years ago
parent
commit
ff567372c0
  1. 4
      lib/js/data-markdown.js

4
lib/js/data-markdown.js

@ -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 @@
}); });
}()); })();
Loading…
Cancel
Save