Stackedit/index.html

782 lines
30 KiB
HTML
Raw Normal View History

2013-03-24 14:54:26 +00:00
<!DOCTYPE html>
2013-03-31 14:11:07 +00:00
<html manifest="cache.manifest">
2013-03-24 14:54:26 +00:00
<head>
2013-05-04 00:05:58 +00:00
<title>StackEdit - Markdown editor</title>
2013-06-23 20:41:24 +00:00
<link rel="canonical" href="http://benweet.github.io/stackedit/">
2013-03-31 14:11:07 +00:00
<link rel="icon" href="img/stackedit-32.ico" type="image/x-icon">
<link rel="shortcut icon" href="img/stackedit-32.ico"
type="image/x-icon">
2013-04-10 18:14:59 +00:00
<meta name="description"
content="StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.">
2013-04-07 15:22:13 +00:00
<meta name="author" content="Benoit Schweblin">
2013-03-24 14:54:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-18 13:42:40 +00:00
<meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612" />
2013-04-13 13:15:27 +00:00
<script>
2013-06-16 10:47:35 +00:00
// Use http://.../?debug to serve original CSS/JavaScript files instead of minified
var suffix = "";
if(!location.search.match(/(\?|&)debug/)) {
suffix = "-min";
}
document.write('<link href="css/main' + suffix + '.css" rel="stylesheet">');
var theme = localStorage.theme;
if(theme) {
document.write('<link href="themes/' + theme + '/' + theme + '.css" rel="stylesheet">');
}
var require = {
baseUrl: "js",
deps: [
"main" + suffix
]
};
var viewerMode = false;
2013-04-13 13:15:27 +00:00
</script>
2013-06-02 00:38:23 +00:00
<script src="js/libs/require.js"></script>
2013-03-24 14:54:26 +00:00
</head>
<body>
<div id="navbar" class="navbar navbar-fixed-top ui-layout-north">
2013-03-24 17:46:48 +00:00
<div class="navbar-inner">
2013-03-25 23:17:34 +00:00
<ul class="nav">
<li><div id="wmd-button-bar"></div></li>
</ul>
2013-05-04 00:05:58 +00:00
<ul class="nav pull-right hide" id="menu-bar">
2013-06-16 10:47:35 +00:00
<li id="extension-buttons"></li>
<li class="btn-group"><button class="btn action-create-file"
2013-04-03 22:52:29 +00:00
title="New local document">
<i class="icon-file"></i>
</button>
2013-04-03 22:52:29 +00:00
<button class="btn" title="Delete local document"
data-toggle="modal" data-target="#modal-remove-file-confirm">
<i class="icon-trash"></i>
</button>
2013-05-19 23:26:05 +00:00
<button class="btn dropdown-toggle action-open-file"
data-toggle="dropdown" title="Open local document">
<i class="icon-folder-open"></i>
</button>
2013-03-24 23:21:55 +00:00
<ul id="file-selector" class="dropdown-menu">
2013-05-19 23:26:05 +00:00
<li class="stick">
<div class="input-prepend">
<span class="add-on"><i class="icon-search"></i></span><input
type="text" id="file-search" class="span3">
</div>
</li>
2013-03-24 23:21:55 +00:00
</ul></li>
2013-05-04 00:05:58 +00:00
<li class="btn-group"><button class="btn dropdown-toggle"
data-toggle="dropdown" title="Menu">
<i class="icon-stackedit"></i>&nbsp;&nbsp;<b class="caret"></b>
</button>
2013-03-24 17:46:48 +00:00
<ul class="dropdown-menu">
2013-05-19 23:26:05 +00:00
<li><a href="viewer.html" title="StackEdit Viewer"><i
2013-06-16 10:47:35 +00:00
class="icon-fullscreen"></i> StackEdit Viewer</a></li>
<li class="dropdown-submenu"><a href="#"><i
class="icon-hdd"></i> Open from...</a>
<ul class="dropdown-menu">
<li><a data-toggle="modal"
2013-06-16 18:29:54 +00:00
data-target="#modal-import-harddrive-markdown"
class="action-reset-input" href="#">Import from hard drive</a></li>
2013-06-16 10:47:35 +00:00
<li><a data-toggle="modal"
2013-06-16 18:29:54 +00:00
data-target="#modal-import-harddrive-html"
class="action-reset-input" href="#">Convert HTML to
Markdown</a></li>
2013-06-16 10:47:35 +00:00
</ul></li>
<li class="dropdown-submenu"><a href="#"><i
class="icon-hdd"></i> Save as...</a>
<ul class="dropdown-menu">
<li><a class="action-download-md" href="#">Save as
Markdown</a></li>
<li><a class="action-download-html" href="#">Save as
HTML</a></li>
<li><a class="action-download-template" href="#">Save
using template</a></li>
</ul></li>
2013-05-02 00:02:57 +00:00
<li class="divider with-text">synchronize</li>
2013-04-02 18:42:47 +00:00
<li class="dropdown-submenu"><a href="#"><i
class="icon-gdrive"></i> Google Drive</a>
<ul class="dropdown-menu">
2013-04-20 00:14:20 +00:00
<li><a href="#" class="action-sync-import-gdrive">Import
2013-04-07 15:22:13 +00:00
from Google Drive</a></li>
<li><a href="#" class="action-sync-export-dialog-gdrive">Export
2013-04-10 23:13:31 +00:00
to Google Drive</a></li>
2013-04-02 18:42:47 +00:00
</ul></li>
<li class="dropdown-submenu"><a href="#"><i
class="icon-dropbox"></i> Dropbox</a>
<ul class="dropdown-menu">
2013-04-20 00:14:20 +00:00
<li><a class="action-sync-import-dropbox" href="#">Import
2013-04-03 22:52:29 +00:00
from Dropbox</a></li>
<li><a href="#" class="action-sync-export-dialog-dropbox">Export
2013-04-10 23:13:31 +00:00
to Dropbox</a></li>
2013-04-02 18:42:47 +00:00
</ul></li>
2013-04-03 22:52:29 +00:00
<li><a href="#" data-toggle="modal"
2013-04-10 23:13:31 +00:00
data-target="#modal-manage-sync" class="action-reset-input"><i
class="icon-refresh"></i> Manage synchronization</a></li>
2013-05-04 00:05:58 +00:00
<li class="divider with-text">publish</li>
2013-04-10 18:14:59 +00:00
<li class="dropdown-submenu"><a href="#"><i
class="icon-share"></i> Publish on</a>
2013-04-29 23:19:54 +00:00
<ul id="publish-menu" class="dropdown-menu">
2013-04-10 18:14:59 +00:00
</ul></li>
<li><a href="#" data-toggle="modal"
2013-04-11 22:38:41 +00:00
data-target="#modal-manage-publish" class="action-reset-input"><i
2013-05-18 13:40:16 +00:00
class="icon-share"></i> Manage publication</a></li>
2013-04-10 18:14:59 +00:00
<li class="divider"></li>
2013-04-03 22:52:29 +00:00
<li><a href="#" data-toggle="modal"
2013-04-12 21:18:35 +00:00
data-target="#modal-settings" class="action-load-settings"><i
2013-04-03 22:52:29 +00:00
class="icon-cog"></i> Settings</a></li>
2013-04-02 18:42:47 +00:00
<li><a href="#" data-toggle="modal"
data-target="#modal-about"><i class="icon-question-sign"></i>
About</a></li>
2013-03-24 17:46:48 +00:00
</ul></li>
</ul>
<ul class="nav pull-right">
2013-04-27 23:16:38 +00:00
<li><i class="working-indicator icon-none"></i></li>
2013-03-28 22:00:11 +00:00
<li><a class="brand" id="file-title" href="#"
2013-04-03 22:52:29 +00:00
title="Rename current document"> </a></li>
<li class="navbar-form"><input id="file-title-input"
2013-04-03 22:52:29 +00:00
type="text" class="span3 hide" placeholder="Document title" /></li>
</ul>
</div>
</div>
2013-06-10 21:22:32 +00:00
<textarea id="wmd-input" class="ui-layout-center hide"></textarea>
2013-06-02 00:38:23 +00:00
<div class="ui-layout-east preview-container hide"></div>
<div class="ui-layout-south preview-container hide"></div>
2013-03-27 15:28:31 +00:00
2013-04-07 15:22:13 +00:00
<div id="modal-insert-link" class="modal hide">
<div class="modal-header">
<button type="button" class="close action-close-insert-link"
data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Hyperlink</h3>
</div>
<div class="modal-body">
<p>Please provide the link URL and an optional title:</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-globe"></i></span><input
id="input-insert-link" type="text" class="span5"
placeholder='http://example.com/ "optional title"'></input>
</div>
</div>
<div class="modal-footer">
2013-06-16 10:47:35 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
class="btn btn-primary action-insert-link" data-dismiss="modal">OK</a>
2013-04-07 15:22:13 +00:00
</div>
</div>
2013-04-04 22:13:48 +00:00
2013-04-07 15:22:13 +00:00
<div id="modal-insert-image" class="modal hide">
<div class="modal-header">
<button type="button" class="close action-close-insert-link"
data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Image</h3>
</div>
<div class="modal-body">
<p>Please provide the image URL and an optional title:</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-picture"></i></span><input
id="input-insert-image" type="text" class="span5"
placeholder='http://example.com/image.jpg "optional title"'></input>
</div>
</div>
<div class="modal-footer">
2013-06-16 10:47:35 +00:00
<a href="#" class="btn action-import-image-gplus"
data-dismiss="modal"><i class="icon-gplus"></i> Import from
Google+</a> <a href="#" class="btn" data-dismiss="modal">Cancel</a> <a
href="#" class="btn btn-primary action-insert-image"
2013-04-07 15:22:13 +00:00
data-dismiss="modal">OK</a>
</div>
</div>
2013-04-04 22:13:48 +00:00
2013-06-02 00:38:23 +00:00
<div id="modal-import-image" class="modal hide">
<div class="modal-header">
<button type="button" class="close action-close-insert-link"
data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Import image</h3>
</div>
<div class="modal-body">
2013-06-16 10:47:35 +00:00
<div class="form-horizontal">
<div class="control-group">
<div class="controls">
<img>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input-import-image-title">Title
(optional)</label>
<div class="controls">
<input type="text" id="input-import-image-title"
placeholder="Image title">
</div>
</div>
<div class="control-group">
<label class="control-label" for="input-import-image-size">Size
limit (optional)</label>
<div class="controls">
<input type="text" id="input-import-image-size" placeholder="345"
class="input-mini"><span class="help-inline">px</span>
</div>
</div>
</div>
2013-06-02 00:38:23 +00:00
</div>
<div class="modal-footer">
2013-06-16 10:47:35 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
class="btn btn-primary action-import-image" data-dismiss="modal">OK</a>
2013-06-02 00:38:23 +00:00
</div>
</div>
2013-03-27 15:28:31 +00:00
<div id="modal-remove-file-confirm" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
2013-05-19 23:26:05 +00:00
<h3>Delete</h3>
</div>
<div class="modal-body">
2013-05-19 23:26:05 +00:00
<p>Are you sure you want to delete "<span class="file-title"></span>"?
</p>
2013-04-29 23:19:54 +00:00
<blockquote class="muted">
2013-05-19 23:26:05 +00:00
<b>NOTE:</b> This will not delete the file on synchronized
2013-04-29 23:19:54 +00:00
locations.
</blockquote>
</div>
<div class="modal-footer">
2013-03-31 01:00:03 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
class="btn btn-primary action-remove-file" data-dismiss="modal">Delete</a>
2013-03-24 17:46:48 +00:00
</div>
</div>
2013-03-27 15:28:31 +00:00
2013-06-16 10:47:35 +00:00
<div id="modal-import-harddrive-markdown" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Import from hard drive</h3>
</div>
<div class="modal-body">
2013-06-16 18:29:54 +00:00
<p>Please select your Markdown files here:</p>
<p><input type="file" id="input-file-import-harddrive-markdown"
multiple /></p>
<p>Or drag and drop your Markdown files here:</p>
<p id="dropzone-import-harddrive-markdown" class="drop-zone">Drop
files here</p>
2013-06-16 10:47:35 +00:00
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
</div>
</div>
<div id="modal-import-harddrive-html" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
2013-06-16 18:29:54 +00:00
<h3>Convert HTML to Markdown</h3>
2013-06-16 10:47:35 +00:00
</div>
<div class="modal-body">
2013-06-16 18:29:54 +00:00
<p>Please select your HTML files here:</p>
<p><input type="file" id="input-file-import-harddrive-html"
multiple /></p>
<p>Or drag and drop your HTML files here:</p>
<p id="dropzone-import-harddrive-html" class="drop-zone">Drop
files here</p>
2013-06-23 20:41:24 +00:00
<p>Or insert your HTML code here:</p> <textarea
id="input-convert-html"></textarea>
2013-06-16 10:47:35 +00:00
</div>
<div class="modal-footer">
2013-06-23 20:41:24 +00:00
<a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#"
class="btn btn-primary action-convert-html" data-dismiss="modal">OK</a>
2013-06-16 10:47:35 +00:00
</div>
</div>
2013-04-07 15:22:13 +00:00
<div id="modal-upload-gdrive" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
2013-04-21 00:07:27 +00:00
<h3>Export to Google Drive</h3>
2013-04-07 15:22:13 +00:00
</div>
<div class="modal-body">
<blockquote class="muted">This will upload the current
document to your Google Drive account and keep it synchronized.</blockquote>
<p>Here, you can specify a <b>folder ID</b> (optional):
</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-gdrive"></i></span><input
id="input-sync-export-gdrive-parentid" type="text" class="span5"
placeholder="FolderID"></input>
</div>
<br /> <br />
2013-04-29 23:19:54 +00:00
<blockquote class="muted">
<b>NOTE:</b>
<ul>
<li>If no folder ID is supplied, the file will be created in
your root folder.</li>
<li>You can move or rename the file afterwards within Google
Drive.</li>
</ul>
2013-04-29 23:19:54 +00:00
</blockquote>
2013-04-07 15:22:13 +00:00
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
data-dismiss="modal"
2013-04-20 00:14:20 +00:00
class="btn btn-primary action-sync-export-gdrive">OK</a>
2013-04-07 15:22:13 +00:00
</div>
</div>
<div id="modal-upload-dropbox" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
2013-04-21 00:07:27 +00:00
<h3>Export to Dropbox</h3>
2013-04-07 15:22:13 +00:00
</div>
<div class="modal-body">
<blockquote class="muted">This will upload the current
document to your Dropbox account and keep it synchronized.</blockquote>
2013-05-23 23:31:16 +00:00
<p>Please specify a <b>file path</b> for "<span
class="file-title"></span>":
2013-04-07 15:22:13 +00:00
</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-dropbox"></i></span><input
2013-04-20 00:14:20 +00:00
id="input-sync-export-dropbox-path" type="text" class="span5"
2013-04-07 15:22:13 +00:00
placeholder="/path/to/My Document.md"></input>
</div>
2013-04-28 01:13:17 +00:00
<br /> <br />
<blockquote class="muted">
2013-04-29 23:19:54 +00:00
<b>NOTE:</b>
<ul>
<li>Dropbox file path does not depend on document title.</li>
<li>The title of your document will not be synchronized.</li>
<li>Destination folder must exist.</li>
<li>Any existing file at this location will be overwritten.</li>
</ul>
2013-04-28 01:13:17 +00:00
</blockquote>
2013-04-07 15:22:13 +00:00
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
2013-04-21 00:07:27 +00:00
data-dismiss="modal"
class="btn btn-primary action-sync-export-dropbox">OK</a>
2013-04-07 15:22:13 +00:00
</div>
</div>
2013-03-31 01:00:03 +00:00
<div id="modal-manage-sync" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Synchronization</h3>
</div>
<div class="modal-body">
2013-04-07 15:22:13 +00:00
<p class="msg-sync-list hide">"<span class="file-title"></span>"
2013-04-10 23:13:31 +00:00
is synchronized with the following location(s):
2013-04-07 15:22:13 +00:00
</p>
<div id="manage-sync-list"></div>
2013-05-19 18:56:15 +00:00
<blockquote class="msg-sync-list hide muted">
<b>NOTE:</b> Removing a synchronized location will not delete any
file.
</blockquote>
<blockquote class="msg-no-sync hide muted">
"<span class="file-title"></span>" is not synchronized yet.
</blockquote>
2013-04-03 22:52:29 +00:00
<p>Add a synchronized location manually:</p>
2013-06-02 00:38:23 +00:00
<div class="input-prepend input-append sync-manual">
2013-04-11 22:38:41 +00:00
<span class="add-on" title="Google Drive"><i
2013-04-20 00:14:20 +00:00
class="icon-gdrive"></i></span><input id="input-sync-manual-gdrive-id"
2013-05-19 18:56:15 +00:00
type="text" class="span5" placeholder="GoogleDriveFileID"></input>
2013-04-20 00:14:20 +00:00
<a class="btn action-sync-manual-gdrive" title="Add location"
2013-04-07 15:22:13 +00:00
data-dismiss="modal"><i class="icon-ok"></i></a>
</div>
2013-06-02 00:38:23 +00:00
<div class="input-prepend input-append sync-manual">
2013-04-11 22:38:41 +00:00
<span class="add-on" title="Dropbox"><i class="icon-dropbox"></i></span><input
2013-04-20 00:14:20 +00:00
id="input-sync-manual-dropbox-path" type="text" class="span5"
2013-05-19 18:56:15 +00:00
placeholder="/dropbox/file/path"></input> <a
2013-04-20 00:14:20 +00:00
class="btn action-sync-manual-dropbox" title="Add location"
2013-04-07 15:22:13 +00:00
data-dismiss="modal"><i class="icon-ok"></i></a>
2013-04-03 22:52:29 +00:00
</div>
2013-04-29 23:19:54 +00:00
<blockquote class="muted">
2013-05-26 01:10:58 +00:00
<b>NOTE:</b> This will first upload the document and overwrite the
existing file on the server.
2013-04-29 23:19:54 +00:00
</blockquote>
2013-03-31 01:00:03 +00:00
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
</div>
</div>
2013-04-10 18:14:59 +00:00
<div id="modal-publish" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
2013-04-20 00:14:20 +00:00
<h3>
Publish on <span class="publish-provider-name"></span>
</h3>
2013-04-10 18:14:59 +00:00
</div>
<div class="modal-body">
<div class="form-horizontal">
2013-05-19 18:56:15 +00:00
<div class="control-group modal-publish-ssh">
<label class="control-label" for="input-publish-ssh-host">Host</label>
<div class="controls">
<input type="text" id="input-publish-ssh-host"
placeholder="host.name.or.ip"> <span class="help-block">
Host must be accessible publicly, unless you are hosting your own
<a target="_blank"
href="https://github.com/benweet/stackedit-ssh-proxy">SSH
proxy</a>.
</span>
</div>
</div>
<div class="control-group modal-publish-ssh">
<label class="control-label" for="input-publish-ssh-port">Port
(optional)</label>
<div class="controls">
<input type="text" id="input-publish-ssh-port" placeholder="22">
</div>
</div>
<div class="control-group modal-publish-ssh">
<label class="control-label" for="input-publish-ssh-username">Username</label>
<div class="controls">
<input type="text" id="input-publish-ssh-username"
placeholder="username">
</div>
</div>
<div class="control-group modal-publish-ssh">
<label class="control-label" for="input-publish-ssh-password">Password</label>
<div class="controls">
<input type="password" id="input-publish-ssh-password"
placeholder="password"> <span class="help-block">
Passwords are transmitted in clear, unless you are hosting your
own <a target="_blank"
href="https://github.com/benweet/stackedit-ssh-proxy">SSH
proxy</a>.
</span>
</div>
</div>
2013-04-12 23:09:34 +00:00
<div class="control-group modal-publish-github">
2013-04-11 22:38:41 +00:00
<label class="control-label" for="input-publish-github-reponame">Repository</label>
<div class="controls">
<input type="text" id="input-publish-github-reponame"
2013-05-19 18:56:15 +00:00
placeholder="repository-name">
2013-04-11 22:38:41 +00:00
</div>
</div>
2013-04-12 23:09:34 +00:00
<div class="control-group modal-publish-github">
2013-04-11 22:38:41 +00:00
<label class="control-label" for="input-publish-github-branch">Branch</label>
<div class="controls">
<input type="text" id="input-publish-github-branch"
2013-05-19 18:56:15 +00:00
placeholder="branch-name">
2013-04-11 22:38:41 +00:00
</div>
</div>
2013-05-19 18:56:15 +00:00
<div class="control-group modal-publish-ssh modal-publish-github">
<label class="control-label" for="input-publish-file-path">File
2013-04-11 22:38:41 +00:00
path</label>
<div class="controls">
2013-05-19 18:56:15 +00:00
<input type="text" id="input-publish-file-path"
2013-04-11 22:38:41 +00:00
placeholder="path/to/file.md">
</div>
</div>
2013-05-02 00:02:57 +00:00
<div class="control-group modal-publish-gist">
<label class="control-label" for="input-publish-filename">Filename</label>
<div class="controls">
<input type="text" id="input-publish-filename"
2013-05-19 18:56:15 +00:00
placeholder="filename">
2013-05-02 00:02:57 +00:00
</div>
</div>
2013-04-29 23:19:54 +00:00
<div class="control-group modal-publish-gist">
<label class="control-label" for="input-publish-gist-id">Existing
ID (optional)</label>
<div class="controls">
2013-05-19 18:56:15 +00:00
<input type="text" id="input-publish-gist-id" placeholder="GistID">
2013-04-29 23:19:54 +00:00
</div>
</div>
<div class="control-group modal-publish-gist">
<label class="control-label" for="input-publish-gist-public">Public</label>
<div class="controls">
<input type="checkbox" id="input-publish-gist-public"
checked="checked" />
</div>
</div>
2013-04-12 23:09:34 +00:00
<div class="control-group modal-publish-blogger">
2013-04-10 23:13:31 +00:00
<label class="control-label" for="input-publish-blogger-url">Blog
URL</label>
2013-04-10 18:14:59 +00:00
<div class="controls">
<input type="text" id="input-publish-blogger-url"
placeholder="http://exemple.blogger.com/">
</div>
</div>
2013-04-28 22:33:17 +00:00
<div class="control-group modal-publish-tumblr">
<label class="control-label" for="input-publish-tumblr-hostname">Blog
hostname</label>
<div class="controls">
<input type="text" id="input-publish-tumblr-hostname"
placeholder="exemple.tumblr.com">
</div>
</div>
2013-05-16 00:19:58 +00:00
<div class="control-group modal-publish-wordpress">
2013-05-18 13:40:16 +00:00
<label class="control-label" for="input-publish-tumblr-hostname">WordPress
site</label>
2013-05-16 00:19:58 +00:00
<div class="controls">
<input type="text" id="input-publish-wordpress-site"
2013-06-16 10:47:35 +00:00
placeholder="exemple.wordpress.com"> <span
class="help-block"> <a target="_blank"
href="http://jetpack.me/">Jetpack plugin</a> is required for
self-hosted sites.
</span>
2013-05-16 00:19:58 +00:00
</div>
</div>
2013-04-29 23:19:54 +00:00
<div
2013-05-16 00:19:58 +00:00
class="control-group modal-publish-blogger modal-publish-tumblr modal-publish-wordpress">
2013-04-28 22:33:17 +00:00
<label class="control-label" for="input-publish-postid">Update
2013-04-10 23:13:31 +00:00
existing post ID (optional)</label>
2013-04-10 18:14:59 +00:00
<div class="controls">
2013-05-19 18:56:15 +00:00
<input type="text" id="input-publish-postid" placeholder="PostID">
2013-04-10 18:14:59 +00:00
</div>
</div>
2013-04-22 22:35:29 +00:00
<div class="control-group modal-publish-blogger">
2013-04-28 22:33:17 +00:00
<label class="control-label" for="input-publish-labels">Labels
2013-04-27 23:16:38 +00:00
(comma separated)</label>
2013-04-22 22:35:29 +00:00
<div class="controls">
2013-04-28 22:33:17 +00:00
<input type="text" id="input-publish-labels"
2013-04-22 22:35:29 +00:00
placeholder="Label1, Label2">
</div>
</div>
2013-05-18 13:40:16 +00:00
<div
class="control-group modal-publish-tumblr modal-publish-wordpress">
2013-04-28 22:33:17 +00:00
<label class="control-label" for="input-publish-tags">Tags
(comma separated)</label>
<div class="controls">
<input type="text" id="input-publish-tags"
placeholder="Tag1, Tag2">
</div>
</div>
2013-04-16 15:02:24 +00:00
<div class="control-group modal-publish-dropbox">
2013-04-20 00:14:20 +00:00
<label class="control-label" for="input-publish-dropbox-path">File
path</label>
2013-04-16 15:02:24 +00:00
<div class="controls">
<input type="text" id="input-publish-dropbox-path"
placeholder="/path/to/My Document.html">
</div>
</div>
2013-04-20 00:14:20 +00:00
<div class="control-group modal-publish-gdrive">
<label class="control-label" for="input-publish-gdrive-fileid">File
ID (optional)</label>
<div class="controls">
<input type="text" id="input-publish-gdrive-fileid"
2013-05-19 18:56:15 +00:00
placeholder="FileID"> <span class="help-block">If
no file ID is supplied, a new file will be created in your Google
2013-05-19 18:56:15 +00:00
Drive root folder. You can move the file afterwards within Google
Drive.</span>
2013-04-20 00:14:20 +00:00
</div>
</div>
2013-04-21 00:07:27 +00:00
<div class="control-group modal-publish-gdrive">
2013-04-27 23:16:38 +00:00
<label class="control-label" for="input-publish-gdrive-filename">Force
2013-05-19 18:56:15 +00:00
filename (optional)</label>
2013-04-21 00:07:27 +00:00
<div class="controls">
<input type="text" id="input-publish-gdrive-filename"
2013-05-19 18:56:15 +00:00
placeholder="Filename"> <span class="help-block">If
no file name is supplied, the document title will be used.</span>
2013-04-21 00:07:27 +00:00
</div>
</div>
2013-04-10 18:14:59 +00:00
<div class="control-group">
2013-04-12 23:09:34 +00:00
<div class="control-label">Format</div>
2013-04-10 18:14:59 +00:00
<div class="controls">
<label class="radio"> <input type="radio"
name="radio-publish-format" value="markdown"> Markdown
</label> <label class="radio"> <input type="radio"
2013-04-12 23:09:34 +00:00
name="radio-publish-format" value="html"> HTML
2013-04-14 13:24:29 +00:00
</label> <label class="radio"> <input type="radio"
2013-04-15 21:15:15 +00:00
name="radio-publish-format" value="template"> Template
</label>
2013-04-10 18:14:59 +00:00
</div>
</div>
</div>
</div>
<div class="modal-footer">
2013-04-10 23:13:31 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
data-dismiss="modal" class="btn btn-primary action-process-publish">OK</a>
2013-04-10 18:14:59 +00:00
</div>
</div>
2013-04-09 07:58:06 +00:00
2013-04-11 22:38:41 +00:00
<div id="modal-manage-publish" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
2013-05-18 13:40:16 +00:00
<h3>Publication</h3>
2013-04-11 22:38:41 +00:00
</div>
<div class="modal-body">
<p class="msg-publish-list hide">"<span class="file-title"></span>"
is published on the following location(s):
</p>
<div id="manage-publish-list"></div>
2013-04-29 23:19:54 +00:00
<blockquote class="muted">
<div class="msg-no-publish hide">
"<span class="file-title"></span>" is not published yet. <br /> <br />
</div>
2013-04-29 23:19:54 +00:00
<b>NOTE:</b> You can add locations using "Publish on" sub-menu.
</blockquote>
2013-04-11 22:38:41 +00:00
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
</div>
</div>
2013-03-27 15:28:31 +00:00
<div id="modal-settings" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Settings</h3>
2013-06-16 10:47:35 +00:00
<ul class="nav nav-tabs">
<li class="active"><a class="action-load-settings"
href="#tabpane-settings-editor" data-toggle="tab">Editor</a></li>
<li><a class="action-load-settings"
href="#tabpane-settings-publish" data-toggle="tab">Publish</a></li>
<li><a class="action-load-settings"
href="#tabpane-settings-extensions" data-toggle="tab">Extensions</a></li>
<li><a class="action-load-settings"
href="#tabpane-settings-utils" data-toggle="tab">Utils</a></li>
</ul>
2013-03-27 15:28:31 +00:00
</div>
<div class="modal-body">
2013-04-11 22:38:41 +00:00
<div class="tab-content">
<div class="tab-pane active" id="tabpane-settings-editor">
<div class="form-horizontal">
<div class="control-group">
<div class="control-label">Layout orientation</div>
<div class="controls">
<label class="radio"> <input type="radio"
name="radio-layout-orientation" value="horizontal">
Horizontal
</label> <label class="radio"> <input type="radio"
name="radio-layout-orientation" value="vertical">
Vertical
</label>
</div>
</div>
2013-05-21 22:34:42 +00:00
<div class="control-group">
<label class="control-label" for="input-settings-theme">Theme</label>
<div class="controls">
<select id="input-settings-theme">
</select> <span class="help-block"><a target="_blank"
2013-05-23 23:31:16 +00:00
href="https://github.com/benweet/stackedit/blob/master/doc/theming.md#stackedit-theming-guide">Create
2013-05-21 22:34:42 +00:00
your own theme...</a></span>
</div>
</div>
2013-05-18 13:40:16 +00:00
<div class="control-group">
<label class="control-label" for="input-settings-lazy-rendering">Lazy
rendering <a href="#" class="tooltip-lazy-rendering">(?)</a>
</label>
<div class="controls">
<input type="checkbox" id="input-settings-lazy-rendering" />
</div>
</div>
2013-04-11 22:38:41 +00:00
<div class="control-group">
<label class="control-label"
for="input-settings-editor-font-size">Editor font size</label>
<div class="controls">
<input type="text" id="input-settings-editor-font-size"
class="input-mini"><span class="help-inline">px</span>
</div>
</div>
2013-04-29 23:19:54 +00:00
<div class="control-group">
<label class="control-label"
for="textarea-settings-default-content">Default content
<a href="#" class="tooltip-default-content">(?)</a>
</label>
<div class="controls">
<textarea id="textarea-settings-default-content"></textarea>
</div>
</div>
2013-04-10 18:14:59 +00:00
</div>
</div>
2013-04-11 22:38:41 +00:00
<div class="tab-pane" id="tabpane-settings-publish">
<div class="form-horizontal">
<div class="control-group">
<label class="control-label"
for="input-settings-publish-commit-msg">Commit message</label>
<div class="controls">
<input type="text" id="input-settings-publish-commit-msg">
</div>
</div>
2013-04-14 13:24:29 +00:00
<div class="control-group">
<label class="control-label"
2013-04-15 21:15:15 +00:00
for="textarea-settings-publish-template">Template <a
href="#" class="tooltip-template">(?)</a>
</label>
2013-04-14 13:24:29 +00:00
<div class="controls">
<textarea id="textarea-settings-publish-template"></textarea>
</div>
</div>
2013-05-19 18:56:15 +00:00
<div class="control-group">
<label class="control-label" for="input-settings-ssh-proxy">SSH
proxy</label>
<div class="controls">
<input type="text" id="input-settings-ssh-proxy">
</div>
</div>
2013-04-10 23:13:31 +00:00
</div>
</div>
2013-05-25 18:13:59 +00:00
<div class="tab-pane" id="tabpane-settings-extensions">
2013-05-26 01:10:58 +00:00
<div class="accordion" id="accordion-extensions"></div>
2013-05-25 18:13:59 +00:00
<span class="help-block pull-right"><a target="_blank"
2013-05-29 23:04:52 +00:00
href="https://github.com/benweet/stackedit/blob/master/doc/developer-guide.md#architecture">Create
2013-05-26 01:10:58 +00:00
your own extension...</a></span>
2013-05-25 18:13:59 +00:00
</div>
2013-04-28 01:13:17 +00:00
<div class="tab-pane" id="tabpane-settings-utils">
2013-05-30 22:16:12 +00:00
<div class="tab-pane-button-container">
2013-04-28 01:13:17 +00:00
<a href="#" class="btn btn-block btn-primary action-welcome-file"
2013-06-16 10:47:35 +00:00
data-dismiss="modal"><i class="icon-info-sign icon-white"></i>
Welcome document</a> <a href="#"
2013-04-28 01:13:17 +00:00
class="btn btn-block btn-primary action-default-settings"
2013-06-16 10:47:35 +00:00
data-dismiss="modal"><i class="icon-wrench icon-white"></i>
Load default settings</a> <a href="#"
2013-04-28 01:13:17 +00:00
class="btn btn-block btn-primary" data-dismiss="modal"
2013-06-16 10:47:35 +00:00
data-toggle="modal" data-target="#modal-app-reset"><i
class="icon-fire icon-white"></i> Reset application</a>
2013-04-28 01:13:17 +00:00
</div>
</div>
2013-04-10 18:14:59 +00:00
</div>
2013-04-11 22:38:41 +00:00
2013-03-27 15:28:31 +00:00
</div>
<div class="modal-footer">
2013-03-31 01:00:03 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
2013-03-27 22:09:27 +00:00
class="btn btn-primary action-apply-settings" data-dismiss="modal">OK</a>
2013-03-27 15:28:31 +00:00
</div>
</div>
2013-04-02 18:42:47 +00:00
<div id="modal-about" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<img src="img/stackedit-promo.png" />
</div>
2013-06-16 10:47:35 +00:00
<div class="modal-body"></div>
2013-04-02 18:42:47 +00:00
<div class="modal-footer">
2013-04-28 01:13:17 +00:00
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
2013-04-02 18:42:47 +00:00
</div>
2013-04-10 18:14:59 +00:00
</div>
2013-04-03 22:52:29 +00:00
2013-04-10 18:14:59 +00:00
<div id="modal-non-unique" class="modal hide">
<div class="modal-header">
2013-06-02 19:35:44 +00:00
<h3>Ooops...</h3>
2013-04-10 18:14:59 +00:00
</div>
<div class="modal-body">
2013-04-10 23:13:31 +00:00
<p>StackEdit has stopped because another instance was running in
2013-04-10 18:14:59 +00:00
the same browser.</p>
2013-04-29 23:19:54 +00:00
<blockquote class="muted">If you want to reopen
StackEdit, click on "Reload".</blockquote>
2013-04-10 18:14:59 +00:00
</div>
<div class="modal-footer">
<a href="javascript:window.location.reload();"
class="btn btn-primary">Reload</a>
</div>
2013-04-02 18:42:47 +00:00
</div>
2013-04-27 23:16:38 +00:00
2013-04-28 01:13:17 +00:00
<div id="modal-app-reset" class="modal hide">
<div class="modal-header">
2013-05-18 13:40:16 +00:00
<h3>Reset application</h3>
2013-04-28 01:13:17 +00:00
</div>
<div class="modal-body">
<p>This will delete all your local documents.</p>
<blockquote class="muted">Are you sure?</blockquote>
</div>
<div class="modal-footer">
2013-04-29 23:19:54 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
class="btn btn-primary action-app-reset" data-dismiss="modal">OK</a>
2013-04-28 01:13:17 +00:00
</div>
</div>
2013-04-27 23:16:38 +00:00
<textarea id="md-section-helper"></textarea>
2013-04-07 15:22:13 +00:00
<div id="dropboxjs" data-app-key="x0k2l8puemfvg0o"></div>
2013-05-19 18:56:15 +00:00
2013-03-24 14:54:26 +00:00
</body>
2013-03-24 23:21:55 +00:00
</html>