markdown-live-preview/index.html

89 lines
3.8 KiB
HTML
Raw Normal View History

2011-05-16 20:26:21 +04:00
<!DOCTYPE html>
<html>
2011-05-16 20:26:21 +04:00
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-language" content="en">
2011-05-16 20:26:21 +04:00
<meta http-equiv="content-script-type" content="text/javascript">
<meta http-equiv="content-style-type" content="text/css">
2011-05-20 05:07:55 +04:00
<meta name="description" content="This is the Markdown editor with live preview. enjoy.">
<meta name="keywords" content="markdown,editor,github,live,preview,tutorial">
2011-05-20 05:07:55 +04:00
2011-05-16 20:26:21 +04:00
<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">
2011-05-16 20:26:21 +04:00
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="js/jquery.autosize-min.js"></script>
2011-05-16 20:26:21 +04:00
<script type="text/javascript" src="js/markdown.js"></script>
<script type="text/javascript" src="js/main.js"></script>
2011-05-20 05:07:55 +04:00
<title>Markdown Live Preview</title>
2011-05-16 20:26:21 +04:00
</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>
2011-05-16 20:26:21 +04:00
<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>
2011-05-17 17:17:47 +04:00
</div>
2011-05-18 19:10:58 +04:00
<div id="preview" class="mode">
<div id="output" class="content markdown-body">
</div>
</div>
2011-05-18 19:10:58 +04:00
</div>
</div>
2011-05-18 19:10:58 +04:00
<div id="footer">
<ul id="shareLinks">
<li class="google">
<!-- Place this tag where you want the share button to render. -->
<div class="g-plus" data-action="share"></div>
<!-- Place this tag after the last share tag. -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</li>
<li class="twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://markdownlivepreview.com" data-via="tanabe">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></li>
<li class="facebook"><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fmarkdownlivepreview.com&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;font=tahoma&amp;colorscheme=dark&amp;action=like&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe></li>
</ul>
<div id="copyright">Copyright 2013 <a href="https://twitter.com/tanabe">tanabe</a>.</div>
</div>
2011-05-18 19:10:58 +04:00
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-73660-14']);
_gaq.push(['_trackPageview']);
2011-05-16 20:26:21 +04:00
(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>
2011-05-17 18:50:41 +04:00
2011-05-16 20:26:21 +04:00
</body>
</html>