2014-05-31 22:32:22 +04:00
|
|
|
<header>
|
|
|
|
<section class="box entry-title">
|
|
|
|
{{input type="text" id="entry-title" placeholder="Your Post Title" value=title tabindex="1"}}
|
|
|
|
</section>
|
|
|
|
</header>
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-05-31 22:32:22 +04:00
|
|
|
<section class="entry-markdown active">
|
|
|
|
<header class="floatingheader">
|
|
|
|
<small>Markdown</small>
|
|
|
|
<a class="markdown-help" href="" {{action "openModal" "markdown"}}><span class="hidden">What is Markdown?</span></a>
|
|
|
|
</header>
|
|
|
|
<section id="entry-markdown-content" class="entry-markdown-content">
|
|
|
|
{{gh-codemirror value=markdown scrollPosition=view.scrollPosition}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
2014-05-31 22:32:22 +04:00
|
|
|
</section>
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-05-31 22:32:22 +04:00
|
|
|
<section class="entry-preview">
|
|
|
|
<header class="floatingheader">
|
|
|
|
<small>Preview <span class="entry-word-count js-entry-word-count">{{gh-count-words markdown}} words</span></small>
|
|
|
|
</header>
|
|
|
|
<section class="entry-preview-content">
|
|
|
|
{{gh-markdown markdown=markdown scrollPosition=view.scrollPosition}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2014-06-02 00:29:25 +04:00
|
|
|
{{partial "publish-bar"}}
|