markdown-live-preview/index.html
2019-02-16 23:55:44 +09:00

71 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-language" content="en">
<meta http-equiv="content-script-type" content="text/javascript">
<meta http-equiv="content-style-type" content="text/css">
<meta name="description" content="This is the Markdown editor with live preview. enjoy.">
<meta name="keywords" content="markdown,editor,github,live,preview,tutorial">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/github.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="js/jquery.autosize-min.js"></script>
<script type="text/javascript" src="js/markdown.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<title>Markdown Live Preview</title>
</head>
<body>
<div id="header">
<h1><a href="./"><img src="image/logo.png" width="306" height="20" alt="Markdown Live Preview"></a></h1>
<ul id="menu">
<a href="javascript:void(null);" data-menu-id="edit" class="edit active"><li>Edit Markdown</li></a>
<a href="javascript:void(null);" class="preview" data-menu-id="preview"><li>HTML Preview</li></a>
</ul>
</div>
<div id="container">
<div id="content" class="section">
<div id="edit" class="mode">
<ul class="submenu">
<a href="javascript:void(null);" id="clearButton"><li>clear</li></a>
</ul>
<div class="content">
<textarea id="markdown">
</textarea>
</div>
</div>
<div id="preview" class="mode">
<div id="output" class="content markdown-body">
</div>
</div>
</div>
</div>
<div id="footer">
<div id="copyright">Copyright 2018 <a href="https://twitter.com/tanabe">Hideaki Tanabe</a>.</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-73660-14']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>