ace editor, markdown editor

This commit is contained in:
life
2015-01-08 00:36:28 +08:00
parent be01c9c3f7
commit 2cfc89ca5f
1233 changed files with 24568 additions and 10275 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,149 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="utf-8">
<title>Cmd - 在线 MarkDown 编辑阅读器</title>
<!-- Bootstrap -->
<link href="static/css/bootstrap.css" rel="stylesheet" media="screen">
<!-- jQuery UI -->
<link href="static/css/smoothness/jquery-ui-1.10.2.custom.min.css" rel="stylesheet" media="screen">
<!-- awesome font -->
<link href="static/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="static/editor/google-code-prettify/prettify.css" type="text/css" rel="stylesheet">
<link href="static/editor/editor.css" rel="stylesheet">
<!-- Bootstrap Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="static/css/bootstrap-responsive.css" rel="stylesheet">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41592315-1', 'ghosertblog.github.io');
ga('send', 'pageview');
</script>
</head>
<body class="theme">
<div id="container">
<div id="editor-nav-bar">
<div id="wmd-button-bar" class="pull-left"></div>
<div id="preview-button-bar" class="pull-right">
<ul id="preview-button-row" class="preview-button-row">
<li class="preview-button" id="preview-new-button" title="新建文件 Ctrl+Alt+N">
<span class="icon-file muted"></span>
</li>
<li class="preview-button" id="preview-theme-button" title="主题切换 Ctrl+Alt+J">
<span class="icon-shield muted"></span>
</li>
<li class="preview-button" id="preview-reader-full-button" title="阅读模式 Ctrl+Alt+M">
<span class="icon-desktop muted"></span>
</li>
<li class="preview-button" id="preview-reader-small-button" title="预览模式 Ctrl+Alt+M">
<span class="icon-columns muted"></span>
</li>
<li class="preview-button" id="preview-fullscreen-button" title="全屏模式 F11">
<span class="icon-fullscreen muted"></span>
</li>
<!-- There is at least one item of 'wmd-spacer' must be in the ul list, otherwise, the hover on the button leads to page issue. -->
<li class="wmd-spacer"></li>
</ul>
</div>
<div id="article-title-bar" class="pull-right">Cmd - 在线 Markdown 编辑阅读器
<a href="http://www.weibo.com/ghosert" target="_blank"><i class="icon-weibo"></i> @ghosert</a>
</div>
<div class="clearfix"></div>
</div>
<div id="left-column" class="pull-left">
<div id="wmd-panel-editor" class="wmd-panel-editor">
<textarea class="wmd-input theme" id="wmd-input" spellcheck="false"></textarea>
</div>
</div>
<div id="right-column" class="pull-right">
<div id="wmd-panel-preview" class="wmd-panel-preview preview-container">
<div id="wmd-preview" class="wmd-preview"></div>
</div>
</div>
<div class="clearfix"></div>
</div>
<!-- Hidden md-section-helper is used to calculate the height of md sections. -->
<textarea id="md-section-helper"></textarea>
<!-- Hidden Popup Modal -->
<div id="editorDialog" class="modal hide fade theme" tabindex="-1" role="dialog" aria-labelledby="notification-title" aria-hidden="true">
<div class="modal-header theme">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="editorDialog-title"></h3>
</div>
<div class="modal-body theme">
<p></p>
<i class="icon-2x"></i> <input class="span5" type="text" placeholder=''>
</div>
<div class="modal-footer theme">
<button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
<button id="editorDialog-confirm" class="btn btn-primary">确认</button>
</div>
</div>
<!-- full editor reader, hidden when loading. -->
<div id="editor-reader-full" class="editor-reader-full-hidden">
</div>
<!-- Hidden Popup Modal -->
<div id="notification" class="modal hide fade theme" tabindex="-1" role="dialog" aria-labelledby="notification-title" aria-hidden="true">
<div class="modal-header theme">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="notification-title">通知</h3>
</div>
<div class="modal-body theme">
<p></p>
</div>
<div class="modal-footer theme">
<button id="notification-cancel" class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
<button id="notification-confirm" class="btn btn-primary">确认</button>
</div>
</div>
<!-- jquery & Bootstrap -->
<script src="static/js/jquery-1.8.3.min.js"></script>
<script src="static/js/jquery-ui-1.10.2.custom.min.js"></script>
<script src="static/js/jquery.ui.datepicker-zh-CN.js"></script>
<script src="static/js/bootstrap.js"></script>
<script src="static/js/jquery.storage.js"></script>
<script src="static/editor/google-code-prettify/prettify.js"></script>
<script src="static/editor/pagedown/Markdown.Converter.js"></script>
<script src="static/editor/pagedown/Markdown.Sanitizer.js"></script>
<script src="static/editor/pagedown/Markdown.Editor.js"></script>
<script src="static/editor/pagedown/local/Markdown.local.zh.js"></script>
<script src="static/editor/Markdown.Extra.js"></script>
<script src="static/editor/underscore.js"></script>
<script src="static/editor/css_browser_selector.js"></script>
<script src="static/editor/scrollLink.js"></script>
<!--mathjax-->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ["\\(","\\)"]], processEscapes: true }, messageStyle: "none"});
</script>
<!--mathjax source code is here: https://github.com/mathjax/MathJax, you could host it on your own server one day.-->
<script src="static/editor/mathJax.js"></script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="static/editor/jquery.waitforimages.js"></script>
<script src="static/editor/jquery.autosize-min.js"></script>
<script src="static/editor/editor.js"></script>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long