Skip to content

Instantly share code, notes, and snippets.

@rjcragg
Created May 1, 2015 22:16
Show Gist options
  • Save rjcragg/afc5558b61932df3a991 to your computer and use it in GitHub Desktop.
Save rjcragg/afc5558b61932df3a991 to your computer and use it in GitHub Desktop.
Hello!
<h1 id="welcome-to-stackedit">Welcome to StackEdit!</h1>
<p>Hey! I’m your first Markdown document in <strong>StackEdit</strong><a href="#fn:stackedit" id="fnref:stackedit" title="See footnote" class="footnote">1</a>. Don’t delete me, I’m very helpful! I can be recovered anyway in the <strong>Utils</strong> tab of the <i class="icon-cog"></i> <strong>Settings</strong> dialog.</p>
<hr>
<h2 id="documents">Documents</h2>
<p>StackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible <strong>offline!</strong></p>
<blockquote>
<p><strong>Note:</strong></p>
<ul>
<li>StackEdit is accessible offline after the application has been loaded for the first time.</li>
<li>Your local documents are not shared between different browsers or computers.</li>
<li>Clearing your browser’s data may <strong>delete all your local documents!</strong> Make sure your documents are synchronized with <strong>Google Drive</strong> or <strong>Dropbox</strong> (check out the <a href="#synchronization"><i class="icon-refresh"></i> Synchronization</a> section).</li>
</ul>
</blockquote>
<h4 id="create-a-document"><i class="icon-file"></i> Create a document</h4>
<p>The document panel is accessible using the <i class="icon-folder-open"></i> button in the navigation bar. You can create a new document by clicking <i class="icon-file"></i> <strong>New document</strong> in the document panel.</p>
<h4 id="switch-to-another-document"><i class="icon-folder-open"></i> Switch to another document</h4>
<p>All your local documents are listed in the document panel. You can switch from one to another by clicking a document in the list or you can toggle documents using <kbd>Ctrl+[</kbd> and <kbd>Ctrl+]</kbd>.</p>
<h4 id="rename-a-document"><i class="icon-pencil"></i> Rename a document</h4>
<p>You can rename the current document by clicking the document title in the navigation bar.</p>
<h4 id="delete-a-document"><i class="icon-trash"></i> Delete a document</h4>
<p>You can delete the current document by clicking <i class="icon-trash"></i> <strong>Delete document</strong> in the document panel.</p>
<h4 id="export-a-document"><i class="icon-hdd"></i> Export a document</h4>
<p>You can save the current document to a file by clicking <i class="icon-hdd"></i> <strong>Export to disk</strong> from the <i class="icon-provider-stackedit"></i> menu panel.</p>
<blockquote>
<p><strong>Tip:</strong> Check out the <a href="#publish-a-document"><i class="icon-upload"></i> Publish a document</a> section for a description of the different output formats.</p>
</blockquote>
<hr>
<h2 id="synchronization">Synchronization</h2>
<p>StackEdit can be combined with <i class="icon-provider-gdrive"></i> <strong>Google Drive</strong> and <i class="icon-provider-dropbox"></i> <strong>Dropbox</strong> to have your documents saved in the <em>Cloud</em>. The synchronization mechanism takes care of uploading your modifications or downloading the latest version of your documents.</p>
<blockquote>
<p><strong>Note:</strong></p>
<ul>
<li>Full access to <strong>Google Drive</strong> or <strong>Dropbox</strong> is required to be able to import any document in StackEdit. Permission restrictions can be configured in the settings.</li>
<li>Imported documents are downloaded in your browser and are not transmitted to a server.</li>
<li>If you experience problems saving your documents on Google Drive, check and optionally disable browser extensions, such as Disconnect.</li>
</ul>
</blockquote>
<h4 id="open-a-document"><i class="icon-refresh"></i> Open a document</h4>
<p>You can open a document from <i class="icon-provider-gdrive"></i> <strong>Google Drive</strong> or the <i class="icon-provider-dropbox"></i> <strong>Dropbox</strong> by opening the <i class="icon-refresh"></i> <strong>Synchronize</strong> sub-menu and by clicking <strong>Open from…</strong>. Once opened, any modification in your document will be automatically synchronized with the file in your <strong>Google Drive</strong> / <strong>Dropbox</strong> account.</p>
<h4 id="save-a-document"><i class="icon-refresh"></i> Save a document</h4>
<p>You can save any document by opening the <i class="icon-refresh"></i> <strong>Synchronize</strong> sub-menu and by clicking <strong>Save on…</strong>. Even if your document is already synchronized with <strong>Google Drive</strong> or <strong>Dropbox</strong>, you can export it to a another location. StackEdit can synchronize one document with multiple locations and accounts.</p>
<h4 id="synchronize-a-document"><i class="icon-refresh"></i> Synchronize a document</h4>
<p>Once your document is linked to a <i class="icon-provider-gdrive"></i> <strong>Google Drive</strong> or a <i class="icon-provider-dropbox"></i> <strong>Dropbox</strong> file, StackEdit will periodically (every 3 minutes) synchronize it by downloading/uploading any modification. A merge will be performed if necessary and conflicts will be detected.</p>
<p>If you just have modified your document and you want to force the synchronization, click the <i class="icon-refresh"></i> button in the navigation bar.</p>
<blockquote>
<p><strong>Note:</strong> The <i class="icon-refresh"></i> button is disabled when you have no document to synchronize.</p>
</blockquote>
<h4 id="manage-document-synchronization"><i class="icon-refresh"></i> Manage document synchronization</h4>
<p>Since one document can be synchronized with multiple locations, you can list and manage synchronized locations by clicking <i class="icon-refresh"></i> <strong>Manage synchronization</strong> in the <i class="icon-refresh"></i> <strong>Synchronize</strong> sub-menu. This will let you remove synchronization locations that are associated to your document.</p>
<blockquote>
<p><strong>Note:</strong> If you delete the file from <strong>Google Drive</strong> or from <strong>Dropbox</strong>, the document will no longer be synchronized with that location.</p>
</blockquote>
<hr>
<h2 id="publication">Publication</h2>
<p>Once you are happy with your document, you can publish it on different websites directly from StackEdit. As for now, StackEdit can publish on <strong>Blogger</strong>, <strong>Dropbox</strong>, <strong>Gist</strong>, <strong>GitHub</strong>, <strong>Google Drive</strong>, <strong>Tumblr</strong>, <strong>WordPress</strong> and on any SSH server.</p>
<h4 id="publish-a-document"><i class="icon-upload"></i> Publish a document</h4>
<p>You can publish your document by opening the <i class="icon-upload"></i> <strong>Publish</strong> sub-menu and by choosing a website. In the dialog box, you can choose the publication format:</p>
<ul>
<li>Markdown, to publish the Markdown text on a website that can interpret it (<strong>GitHub</strong> for instance),</li>
<li>HTML, to publish the document converted into HTML (on a blog for example),</li>
<li>Template, to have a full control of the output.</li>
</ul>
<blockquote>
<p><strong>Note:</strong> The default template is a simple webpage wrapping your document in HTML format. You can customize it in the <strong>Advanced</strong> tab of the <i class="icon-cog"></i> <strong>Settings</strong> dialog.</p>
</blockquote>
<h4 id="update-a-publication"><i class="icon-upload"></i> Update a publication</h4>
<p>After publishing, StackEdit will keep your document linked to that publication which makes it easy for you to update it. Once you have modified your document and you want to update your publication, click on the <i class="icon-upload"></i> button in the navigation bar.</p>
<blockquote>
<p><strong>Note:</strong> The <i class="icon-upload"></i> button is disabled when your document has not been published yet.</p>
</blockquote>
<h4 id="manage-document-publication"><i class="icon-upload"></i> Manage document publication</h4>
<p>Since one document can be published on multiple locations, you can list and manage publish locations by clicking <i class="icon-upload"></i> <strong>Manage publication</strong> in the <i class="icon-provider-stackedit"></i> menu panel. This will let you remove publication locations that are associated to your document.</p>
<blockquote>
<p><strong>Note:</strong> If the file has been removed from the website or the blog, the document will no longer be published on that location.</p>
</blockquote>
<hr>
<h2 id="markdown-extra">Markdown Extra</h2>
<p>StackEdit supports <strong>Markdown Extra</strong>, which extends <strong>Markdown</strong> syntax with some nice features.</p>
<blockquote>
<p><strong>Tip:</strong> You can disable any <strong>Markdown Extra</strong> feature in the <strong>Extensions</strong> tab of the <i class="icon-cog"></i> <strong>Settings</strong> dialog.</p>
<p><strong>Note:</strong> You can find more information about <strong>Markdown</strong> syntax <a href="http://daringfireball.net/projects/markdown/syntax" title="Markdown">here</a> and <strong>Markdown Extra</strong> extension <a href="https://github.com/jmcmanus/pagedown-extra" title="Pagedown Extra">here</a>.</p>
</blockquote>
<h3 id="tables">Tables</h3>
<p><strong>Markdown Extra</strong> has a special syntax for tables:</p>
<table>
<thead>
<tr>
<th>Item</th>
<th>Value</th>
</tr>
</thead>
<tbody><tr>
<td>Computer</td>
<td>$1600</td>
</tr>
<tr>
<td>Phone</td>
<td>$12</td>
</tr>
<tr>
<td>Pipe</td>
<td>$1</td>
</tr>
</tbody></table>
<p>You can specify column alignment with one or two colons:</p>
<table>
<thead>
<tr>
<th align="left">Item</th>
<th align="right">Value</th>
<th align="center">Qty</th>
</tr>
</thead>
<tbody><tr>
<td align="left">Computer</td>
<td align="right">$1600</td>
<td align="center">5</td>
</tr>
<tr>
<td align="left">Phone</td>
<td align="right">$12</td>
<td align="center">12</td>
</tr>
<tr>
<td align="left">Pipe</td>
<td align="right">$1</td>
<td align="center">234</td>
</tr>
</tbody></table>
<h3 id="definition-lists">Definition Lists</h3>
<p><strong>Markdown Extra</strong> has a special syntax for definition lists too:</p>
<dl>
<dt>Term 1</dt>
<dt>Term 2</dt>
<dd>Definition A</dd>
<dd>Definition B</dd>
<dt>Term 3</dt>
<dd>
<p>Definition C</p>
</dd>
<dd>
<p>Definition D</p>
<blockquote>
<p>part of definition D</p>
</blockquote>
</dd>
</dl>
<h3 id="fenced-code-blocks">Fenced code blocks</h3>
<p>GitHub’s fenced code blocks are also supported with <strong>Highlight.js</strong> syntax highlighting:</p>
<pre class="prettyprint"><code class=" hljs cs"><span class="hljs-comment">// Foo</span>
<span class="hljs-keyword">var</span> bar = <span class="hljs-number">0</span>;</code></pre>
<blockquote>
<p><strong>Tip:</strong> To use <strong>Prettify</strong> instead of <strong>Highlight.js</strong>, just configure the <strong>Markdown Extra</strong> extension in the <i class="icon-cog"></i> <strong>Settings</strong> dialog.</p>
<p><strong>Note:</strong> You can find more information:</p>
<ul>
<li>about <strong>Prettify</strong> syntax highlighting <a href="https://code.google.com/p/google-code-prettify/">here</a>,</li>
<li>about <strong>Highlight.js</strong> syntax highlighting <a href="http://highlightjs.org/">here</a>.</li>
</ul>
</blockquote>
<h3 id="footnotes">Footnotes</h3>
<p>You can create footnotes like this<a href="#fn:footnote" id="fnref:footnote" title="See footnote" class="footnote">2</a>.</p>
<h3 id="smartypants">SmartyPants</h3>
<p>SmartyPants converts ASCII punctuation characters into “smart” typographic punctuation HTML entities. For example:</p>
<table>
<thead>
<tr>
<th></th>
<th>ASCII</th>
<th>HTML</th>
</tr>
</thead>
<tbody><tr>
<td>Single backticks</td>
<td><code>'Isn't this fun?'</code></td>
<td>‘Isn’t this fun?’</td>
</tr>
<tr>
<td>Quotes</td>
<td><code>"Isn't this fun?"</code></td>
<td>“Isn’t this fun?”</td>
</tr>
<tr>
<td>Dashes</td>
<td><code>-- is en-dash, --- is em-dash</code></td>
<td>– is en-dash, — is em-dash</td>
</tr>
</tbody></table>
<h3 id="table-of-contents">Table of contents</h3>
<p>You can insert a table of contents using the marker <code>[TOC]</code>:</p>
<p><div class="toc">
<ul>
<li><a href="#welcome-to-stackedit">Welcome to StackEdit!</a><ul>
<li><a href="#documents">Documents</a><ul>
<li><ul>
<li><a href="#create-a-document"> Create a document</a></li>
<li><a href="#switch-to-another-document"> Switch to another document</a></li>
<li><a href="#rename-a-document"> Rename a document</a></li>
<li><a href="#delete-a-document"> Delete a document</a></li>
<li><a href="#export-a-document"> Export a document</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#synchronization">Synchronization</a><ul>
<li><ul>
<li><a href="#open-a-document"> Open a document</a></li>
<li><a href="#save-a-document"> Save a document</a></li>
<li><a href="#synchronize-a-document"> Synchronize a document</a></li>
<li><a href="#manage-document-synchronization"> Manage document synchronization</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#publication">Publication</a><ul>
<li><ul>
<li><a href="#publish-a-document"> Publish a document</a></li>
<li><a href="#update-a-publication"> Update a publication</a></li>
<li><a href="#manage-document-publication"> Manage document publication</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#markdown-extra">Markdown Extra</a><ul>
<li><a href="#tables">Tables</a></li>
<li><a href="#definition-lists">Definition Lists</a></li>
<li><a href="#fenced-code-blocks">Fenced code blocks</a></li>
<li><a href="#footnotes">Footnotes</a></li>
<li><a href="#smartypants">SmartyPants</a></li>
<li><a href="#table-of-contents">Table of contents</a></li>
<li><a href="#mathjax">MathJax</a></li>
<li><a href="#uml-diagrams">UML diagrams</a></li>
<li><a href="#support-stackedit">Support StackEdit</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</p>
<h3 id="mathjax">MathJax</h3>
<p>You can render <em>LaTeX</em> mathematical expressions using <strong>MathJax</strong>, as on <a href="http://math.stackexchange.com/">math.stackexchange.com</a>:</p>
<p>The <em>Gamma function</em> satisfying <script type="math/tex" id="MathJax-Element-1">\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N</script> is via the Euler integral</p>
<p><script type="math/tex; mode=display" id="MathJax-Element-2">
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
</script></p>
<blockquote>
<p><strong>Tip:</strong> To make sure mathematical expressions are rendered properly on your website, include <strong>MathJax</strong> into your template:</p>
</blockquote>
<pre class="prettyprint"><code class=" hljs xml"><span class="hljs-tag">&lt;<span class="hljs-title">script</span> <span class="hljs-attribute">type</span>=<span class="hljs-value">"text/javascript"</span> <span class="hljs-attribute">src</span>=<span class="hljs-value">"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"</span>&gt;</span><span class="javascript"></span><span class="hljs-tag">&lt;/<span class="hljs-title">script</span>&gt;</span></code></pre>
<blockquote>
<p><strong>Note:</strong> You can find more information about <strong>LaTeX</strong> mathematical expressions <a href="http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference">here</a>.</p>
</blockquote>
<h3 id="uml-diagrams">UML diagrams</h3>
<p>You can also render sequence diagrams like this:</p>
<div class="sequence-diagram"><svg height="255" version="1.1" width="393.125" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="overflow: hidden; position: relative; top: -0.734375px;"><desc>Created with Raphaël 2.1.2</desc><defs><path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block"></path><marker id="raphael-marker-endblock55-obj21" markerHeight="5" markerWidth="5" orient="auto" refX="2.5" refY="2.5"><use NS1:href="#raphael-marker-block" transform="rotate(180 2.5 2.5) scale(1,1)" stroke-width="1.0000" fill="#000" stroke="none"></use></marker><marker id="raphael-marker-endblock55-obj27" markerHeight="5" markerWidth="5" orient="auto" refX="2.5" refY="2.5"><use NS2:href="#raphael-marker-block" transform="rotate(180 2.5 2.5) scale(1,1)" stroke-width="1.0000" fill="#000" stroke="none"></use></marker></defs><rect x="10" y="20" width="52.53125" height="37" rx="0" ry="0" fill="none" stroke="#000000" stroke-width="2" style=""></rect><rect x="20" y="30" width="32.53125" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="36.265625" y="38.5" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">Alice</tspan></text><rect x="10" y="198" width="52.53125" height="37" rx="0" ry="0" fill="none" stroke="#000000" stroke-width="2" style=""></rect><rect x="20" y="208" width="32.53125" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="36.265625" y="216.5" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">Alice</tspan></text><path fill="none" stroke="#000000" d="M36.265625,57L36.265625,198" stroke-width="2" style=""></path><rect x="196.34375" y="20" width="46.71875" height="37" rx="0" ry="0" fill="none" stroke="#000000" stroke-width="2" style=""></rect><rect x="206.34375" y="30" width="26.71875" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="219.703125" y="38.5" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">Bob</tspan></text><rect x="196.34375" y="198" width="46.71875" height="37" rx="0" ry="0" fill="none" stroke="#000000" stroke-width="2" style=""></rect><rect x="206.34375" y="208" width="26.71875" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="219.703125" y="216.5" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">Bob</tspan></text><path fill="none" stroke="#000000" d="M219.703125,57L219.703125,198" stroke-width="2" style=""></path><rect x="46.265625" y="73.5" width="163.4375" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="127.984375" y="82" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">Hello Bob, how are you?</tspan></text><path fill="none" stroke="#000000" d="M36.265625,94C36.265625,94,185.30177110433578,94,214.7014796131989,94" stroke-width="2" marker-end="url(#raphael-marker-endblock55-obj21)" stroke-dasharray="0" style=""></path><rect x="239.703125" y="114" width="80.0625" height="27" rx="0" ry="0" fill="none" stroke="#000000" stroke-width="2" style=""></rect><rect x="244.703125" y="119" width="70.0625" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="279.734375" y="127.5" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">Bob thinks</tspan></text><rect x="68.359375" y="157.5" width="119.25" height="17" rx="0" ry="0" fill="#ffffff" stroke="none" style=""></rect><text x="127.984375" y="166" text-anchor="middle" font-family="Andale Mono, monospace" font-size="16px" stroke="none" fill="#000000" style="text-anchor: middle; font-family: 'Andale Mono', monospace; font-size: 16px;"><tspan dy="4.75">I am good thanks!</tspan></text><path fill="none" stroke="#000000" d="M219.703125,178C219.703125,178,70.66697889566422,178,41.2672703868011,178" stroke-width="2" marker-end="url(#raphael-marker-endblock55-obj27)" stroke-dasharray="6,2" style=""></path></svg></div>
<p>And flow charts like this:</p>
<div class="flow-chart"><svg height="425.712890625" version="1.1" width="826.837890625" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="overflow: hidden; position: relative; top: -0.328125px;"><desc>Created with Raphaël 2.1.2</desc><defs><marker id="raphael-marker-endblock33-obj45" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS1:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj46" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS2:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj47" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS3:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj49" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS4:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj51" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS5:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj53" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS6:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj55" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS7:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj56" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS8:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker><marker id="raphael-marker-endblock33-obj57" markerHeight="3" markerWidth="3" orient="auto" refX="1.5" refY="1.5"><use NS9:href="#raphael-marker-block" transform="rotate(180 1.5 1.5) scale(0.6,0.6)" stroke-width="1.6667" fill="black" stroke="none"></use></marker></defs><a NS10:href="http://www.google.com" NS11:show="new"><rect x="0" y="0" width="51.6875" height="37" rx="20" ry="20" fill="#ffffff" stroke="#000000" style="" stroke-width="2" class="flowchart" id="st" transform="matrix(1,0,0,1,69.0234,26.75)"></rect></a><a NS12:href="http://www.google.com" NS13:show="new"><text x="10" y="18.5" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="stt" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,69.0234,26.75)"><tspan dy="4.75">Start</tspan></text></a><rect x="0" y="0" width="110.046875" height="37" rx="0" ry="0" fill="#ffffff" stroke="#000000" stroke-width="2" class="flowchart" id="op1" style="" transform="matrix(1,0,0,1,39.8438,140.5)"></rect><text x="10" y="18.5" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="op1t" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,39.8438,140.5)"><tspan dy="4.75">My Operation</tspan></text><a NS14:href="http://www.google.com"><path fill="#ffffff" stroke="#000000" d="M28.13671875,20.625L0,41.25L56.2734375,82.5L112.546875,41.25L56.2734375,0L0,41.25" stroke-width="2" font-family="sans-serif" font-weight="normal" id="cond" class="flowchart" style="font-family: sans-serif; font-weight: normal;" transform="matrix(1,0,0,1,238.4844,117.75)"></path></a><a NS15:href="http://www.google.com"><text x="33.13671875" y="41.25" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="condt" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,238.4844,117.75)"><tspan dy="-4.25">Yes </tspan><tspan dy="18" x="33.13671875">or No?</tspan></text></a><path fill="#ffffff" stroke="#000000" d="M37.212890625,18.6064453125L0,37.212890625L74.42578125,74.42578125L148.8515625,37.212890625L74.42578125,0L0,37.212890625" stroke-width="2" font-family="sans-serif" font-weight="normal" id="c2" class="flowchart" style="font-family: sans-serif; font-weight: normal;" transform="matrix(1,0,0,1,421.4727,121.7871)"></path><text x="42.212890625" y="37.212890625" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="c2t" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,421.4727,121.7871)"><tspan dy="4.751953125">Good idea</tspan></text><path fill="#ffffff" stroke="#000000" d="M10,18.5L0,37L161.734375,37L181.734375,0L20,0L10,18.5" stroke-width="2" font-family="sans-serif" font-weight="normal" id="io" class="flowchart" style="font-family: sans-serif; font-weight: normal;" transform="matrix(1,0,0,1,405.0313,272.9629)"></path><text x="30" y="18.5" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="iot" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,405.0313,272.9629)"><tspan dy="4.75">catch something...</tspan></text><a NS16:href="http://www.google.com"><rect x="0" y="0" width="55.046875" height="37" rx="20" ry="20" fill="#ffffff" stroke="#000000" stroke-width="2" class="flowchart" id="e" style="" transform="matrix(1,0,0,1,468.375,386.7129)"></rect></a><a NS17:href="http://www.google.com"><text x="10" y="18.5" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="et" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,468.375,386.7129)"><tspan dy="4.75">Ende</tspan></text></a><rect x="0" y="0" width="50.859375" height="37" rx="0" ry="0" fill="#ffffff" stroke="#000000" stroke-width="2" class="flowchart" id="op2" style="" transform="matrix(1,0,0,1,689.7617,140.5)"></rect><text x="10" y="18.5" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="op2t" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,689.7617,140.5)"><tspan dy="4.75">Stuff</tspan></text><rect x="0" y="0" width="77.515625" height="37" rx="0" ry="0" fill="#ffffff" stroke="#000000" stroke-width="2" class="flowchart" id="sub1" style="" transform="matrix(1,0,0,1,256,277)"></rect><rect x="10" y="0" width="57.515625" height="37" rx="0" ry="0" fill="#ffffff" stroke="#000000" stroke-width="2" id="sub1i" font-family="sans-serif" font-weight="normal" transform="matrix(1,0,0,1,256,277)" style="font-family: sans-serif; font-weight: normal;"></rect><text x="20" y="18.5" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" id="sub1t" class="flowchartt" font-weight="normal" transform="matrix(1,0,0,1,256,277)"><tspan dy="4.75">BOO!</tspan></text><path fill="none" stroke="#000000" d="M94.8671875,63.75C94.8671875,63.75,94.8671875,123.30134105682373,94.8671875,137.49130904302" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj45)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><path fill="none" stroke="#000000" d="M149.890625,159C149.890625,159,220.0103050172329,159,235.48593752103625,159" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj46)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><path fill="none" stroke="#000000" d="M351.03125,159C351.03125,159,405.0231600860134,159,418.46841113282335,159" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj47)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><text x="356.03125" y="149" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" font-weight="normal"><tspan dy="4.75">yes</tspan></text><path fill="none" stroke="#000000" d="M294.7578125,200.25C294.7578125,200.25,294.7578125,259.80134105682373,294.7578125,273.99130904302" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj49)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><text x="299.7578125" y="210.25" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" font-weight="normal"><tspan dy="4.75">no</tspan></text><path fill="none" stroke="#000000" d="M495.8984375,196.212890625C495.8984375,196.212890625,495.8984375,255.76423168182373,495.8984375,269.95419966802" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj51)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><text x="500.8984375" y="206.212890625" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" font-weight="normal"><tspan dy="4.751953125">yes</tspan></text><path fill="none" stroke="#000000" d="M570.32421875,159C570.32421875,159,668.2584401927888,159,686.7645650455033,159" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj53)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><text x="575.32421875" y="149" text-anchor="start" font-family="sans-serif" font-size="14px" stroke="none" fill="#000000" style="text-anchor: start; font-family: sans-serif; font-size: 14px; font-weight: normal;" font-weight="normal"><tspan dy="4.75">no</tspan></text><path fill="none" stroke="#000000" d="M495.8984375,309.962890625C495.8984375,309.962890625,495.8984375,369.51423168182373,495.8984375,383.70419966802" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj55)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><path fill="none" stroke="#000000" d="M715.19140625,177.5C715.19140625,177.5,715.19140625,361.712890625,715.19140625,361.712890625C715.19140625,361.712890625,495.8984375,361.712890625,495.8984375,361.712890625C495.8984375,361.712890625,495.8984375,377.08633518218994,495.8984375,383.72213839925826" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj56)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path><path fill="none" stroke="#000000" d="M256,295.5C256,295.5,175.43359375,295.5,175.43359375,295.5C175.43359375,295.5,175.43359375,163,175.43359375,163C175.43359375,163,183.43359375,159,175.43359375,155C175.43359375,155,175.43359375,115.5,175.43359375,115.5C175.43359375,115.5,94.8671875,115.5,94.8671875,115.5C94.8671875,115.5,94.8671875,130.87344455718994,94.8671875,137.50924777425826" stroke-width="2" marker-end="url(#raphael-marker-endblock33-obj57)" font-family="sans-serif" font-weight="normal" style="font-family: sans-serif; font-weight: normal;"></path></svg></div>
<blockquote>
<p><strong>Note:</strong> You can find more information:</p>
<ul>
<li>about <strong>Sequence diagrams</strong> syntax <a href="http://bramp.github.io/js-sequence-diagrams/">here</a>,</li>
<li>about <strong>Flow charts</strong> syntax <a href="http://adrai.github.io/flowchart.js/">here</a>.</li>
</ul>
</blockquote>
<h3 id="support-stackedit">Support StackEdit</h3>
<p><img src="http://yuml.me/diagram/scruffy;dir:LR/class/Exercise_2,[Parks.mif|DogPark:boolean{bg:wheat}]--%3E[ParksMaintenanceData|AverageParkArea;AverageArea{bg:wheat}]" alt="Exercise 1" title=""></p>
<p><img src="http://yuml.me/diagram/scruffy/class/[Customer]-[Billing%20Address]" alt="Simple Association" title=""></p>
<p><img src="http://yuml.me/diagram/scruffy/class/[Customer]-[Billing Address]"></p>
<p><img src="http://yuml.me/diagram/scruffy/class/[Order]-billing -[Address], [Order]-shipping -[Address]"></p>
<p><img src="http://yuml.me/6f01c921" alt="enter image description here" title=""> <br>
<img src="http://yuml.me/875dee6c" alt="enter image description here" title=""></p>
<p><img src="http://yuml.me/dddef563" alt="enter image description here" title=""></p>
<p><a href="https://monetizejs.com/authorize?client_id=ESTHdCYOi18iLhhO&amp;summary=true"><img src="https://cdn.monetizejs.com/resources/button-32.png" alt="" title=""></a></p>
<p>css = ” <br>
body { <br>
background:#fff; <br>
color:#000; <br>
font-family: Didot; <br>
font-size:14px; <br>
line-height:170%; <br>
text-align: justify; <br>
counter-reset: chapter; // FDM 130718 - Essential declaration of ‘chapter’ for nested counters H1 to H6 to work <br>
}</p>
<p>H1:before { <br>
content: counter(chapter) \”. \”; <br>
counter-increment: chapter; <br>
}</p>
<p>H1 { <br>
counter-reset: SectionH2; <br>
}</p>
<p>H2:before { <br>
content: counter(chapter) \”.\” counter(SectionH2) \” \”; <br>
counter-increment: SectionH2; <br>
}</p>
<p>H2 { <br>
counter-reset: SectionH3; <br>
}</p>
<p>H3:before { <br>
content: counter(chapter) \”.\” counter(SectionH2) \”.\” counter(SectionH3) \” \”; <br>
counter-increment: SectionH3; <br>
}</p>
<p>H3 { <br>
counter-reset: SectionH4; <br>
}</p>
<p>H4:before { <br>
content: counter(chapter) \”.\” counter(SectionH2) \”.\” counter(SectionH3) \”.\” counter(SectionH4) \” \”; <br>
counter-increment: SectionH4; <br>
}</p>
<p>H4 { <br>
counter-reset: SectionH5; <br>
}</p>
<p>H5:before { <br>
content: counter(chapter) \”.\” counter(SectionH2) \”.\” counter(SectionH3) \”.\” counter(SectionH4) \”.\” counter(SectionH5) \” \”; <br>
counter-increment: SectionH5; <br>
}</p>
<p>H5 { <br>
counter-reset: SectionH6; <br>
}</p>
<p>H6:before { <br>
content: counter(chapter) \”.\” counter(SectionH2) \”.\” counter(SectionH3) \”.\” counter(SectionH4) \”.\” counter(SectionH5) \”.\” counter(SectionH6) \” \”; <br>
counter-increment: SectionH6; <br>
}</p>
<p>}</p>
<hr><div class="footnotes"><hr><ol><li id="fn:stackedit"><a href="https://stackedit.io/">StackEdit</a> is a full-featured, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites. <a href="#fnref:stackedit" title="Return to article" class="reversefootnote">↩</a></li><li id="fn:footnote">Here is the <em>text</em> of the <strong>footnote</strong>. <a href="#fnref:footnote" title="Return to article" class="reversefootnote">↩</a></li></ol></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment