From c174c3a5f2e9ef3bc1a7ddfe9664354cd0843108 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 13 Mar 2018 12:09:27 +0100 Subject: [PATCH] Flatten everything up a bit. --- index.html | 17 ++++++++++++++--- use-markdown.js | 12 ------------ 2 files changed, 14 insertions(+), 15 deletions(-) delete mode 100644 use-markdown.js diff --git a/index.html b/index.html index 0591ebe..6595771 100644 --- a/index.html +++ b/index.html @@ -7,9 +7,20 @@ -

Hello World! (for now ...)

-
TODO
+ +
Please wait while javascript takes care of rendering the page from markdown ...
- + diff --git a/use-markdown.js b/use-markdown.js deleted file mode 100644 index 363e6bf..0000000 --- a/use-markdown.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; - -function loadMdFromUrl(url) { - $.get(url, function(data) { - var converter = new showdown.Converter(); - var html = converter.makeHtml(data); - $("#markdown-content").html(html); - }); -} - -// TODO: Add more, add menu, add ... -loadMdFromUrl("content/hello.md");