This repository has been archived on 2021-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
scriptcraft/docs/view.html

29 lines
947 B
HTML
Raw Normal View History

2013-08-07 18:29:02 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>ScriptCraft</title>
<link href="vendor/markdown.css" media="all" rel="stylesheet" type="text/css" />
<link href="vendor/toc.css" media="all" rel="stylesheet" type="text/css" />
2013-08-07 18:29:02 +02:00
<script src="vendor/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="vendor/jquery.toc.min.js" type="text/javascript"></script>
<script src="vendor/showdown.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$.get("YoungPersonsGuideToProgrammingMinecraft-de.md", function(content) {
2013-08-07 18:29:02 +02:00
$('#content').html(new Showdown.converter().makeHtml(content));
$('#toc').toc({
'selectors': 'h2,h3,h4',
2013-08-07 18:29:02 +02:00
'container': '#content'
});
});
});
</script>
</head>
<body>
<div id="toc"></div>
<div id="content">
</div>
</body>
</html>