self-execute data-markdown
This commit is contained in:
parent
12c9977cda
commit
ff567372c0
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
// From https://gist.github.com/1343518, modified to not load showdown
|
||||
(function boom(){
|
||||
(function(){
|
||||
|
||||
[].forEach.call( document.querySelectorAll('[data-markdown]'), function fn(elem){
|
||||
|
||||
|
@ -16,4 +16,4 @@
|
|||
|
||||
});
|
||||
|
||||
}());
|
||||
})();
|
Loading…
Reference in a new issue