diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 19aea2876b0b94638b42539e3cb843c588261618..efec14e1c61eff52125e512ebdf6c501dd93b527 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -219,7 +219,10 @@ xhr.onreadystatechange = function() { if( xhr.readyState === 4 ) { - if ( xhr.status >= 200 && xhr.status < 300 ) { + if ( + (xhr.status >= 200 && xhr.status < 300) || + xhr.status === 0 // file protocol yields status code 0 (useful for local debug, mobile applications etc.) + ) { section.outerHTML = slidify( xhr.responseText, { separator: section.getAttribute( 'data-separator' ),