summaryrefslogtreecommitdiffstats
path: root/demo/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'demo/index.html')
-rw-r--r--demo/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/index.html b/demo/index.html
index de86190..3e0b6ae 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -29,7 +29,7 @@
xhr.onload = function (e) {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
- readme.innerHTML = xhr.responseText;
+ readme.innerHTML = marked(xhr.responseText);
[].forEach.call(readme.querySelectorAll("pre"), function(pre) {
var code = document.createElement("code");
code.innerHTML = pre.innerHTML;
@@ -48,7 +48,7 @@
xhr.onerror = function (e) {
console.error(xhr.statusText);
};
- xhr.open("GET", "../README.html");
+ xhr.open("GET", "../README.md");
xhr.send();
</script>