-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.jade
46 lines (45 loc) · 1.75 KB
/
index.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
!!! 5
html(lang="en")
head
meta(charset='utf8')
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
meta(name='viewport', content='width=device-width,initial-scale=1')
meta(name='author', content='Alexa Grey')
meta(name='description', content='An in-browser previewer for Github-flavored markdown syntax')
title Github-Flavored Markdown Preview
!= css('application')
body
.container#docView
header
h1 Github-Flavored Markdown Preview
section#preview
input#documentTitle(type="text", name="doctitle", placeholder='Title')
input#documentSelector(name="documents", type="hidden", style="width: 48%;")
textarea#text-input(rows="16")
.buttons
button#save(type="button") Save
button#destroy(type="button") Destroy
.dates
time.created
time.updated
section#parsed
h2 Preview will appear here.
ul
li All the normal
a(href="http://daringfireball.net/projects/markdown/syntax", title="Daring Fireball: Markdown Syntax Documentation") Markdown syntax
| is supported.
li Along with the
a(href="http://github.github.com/github-flavored-markdown/", title="Introduction to GFM") very nice additions
| by Github
pre
code.language-javascript.
(function() {
console.log('Syntax highlighting also available');
}).call(this);.
footer
aside
| Stitched together by
a(href="http://alexa.is", title="alexa.is") Alexa Grey
|. Released under MIT license.
script(src="/nowjs/now.js")
script(src="/javascripts/require.js", data-main="/javascripts/application")