lalala 4.0.0.dev.239 → 4.0.0.dev.240

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a45a4659c75ccea93a250c85b4591f5c2a1117f
4
- data.tar.gz: 7184be267b5a060af4a2870fa4e72cf8aac7316c
3
+ metadata.gz: 0951666ef51b83946343af279cd8d2c86804e916
4
+ data.tar.gz: da78d746c23abe740ad152bbd93ac72855080927
5
5
  SHA512:
6
- metadata.gz: 3cf1effa5821870958aae13f8416d75a2e23b902de4e091354e73575215727fd94944917a475a49443a1b903ec4dfb61fa72e75fbdedfd8984362224083195f0
7
- data.tar.gz: af259cb61c626dff79c4623f91d9b3368684ac44068b0ab66065abe258cb9662938dd8868d81c474f938991cf56b62c8d78aba2e1677280f51213677c473882d
6
+ metadata.gz: 09e7cea2c417de99138951ca71c76983d40d248d539298cceb5f22784fb788db09d98c2989c49861dd70c2b5040dce9829635e8e2912df75784a0a5e1870a81d
7
+ data.tar.gz: 3e849a42f10f3d7b50aad11d488672a0dbd5eee8cb415d4dc5af3038203c7bdf3399853a17bab5e71d34972bc85333a85bede9badda244920e931d42fd717ee6
@@ -1,5 +1,5 @@
1
1
  #markdown-cheatsheet {
2
- @include box-shadow();
2
+ @include box-shadow(0 0 10px gray(100));
3
3
  background-color: rgba(255,255,255, 0.95);
4
4
  bottom: 0;
5
5
  overflow: auto;
@@ -9,9 +9,37 @@
9
9
  top: 0;
10
10
  z-index: 230;
11
11
 
12
+ h2 {
13
+ font-size: 16px;
14
+ font-weight: bold;
15
+ line-height: 1.5em;
16
+ margin: 1em 0;
17
+ }
18
+
19
+ h3 {
20
+ border-bottom: 1px solid rgb(200,200,200);
21
+ font-size: 14px;
22
+ font-weight: bold;
23
+ line-height: 2em;
24
+ margin: 1em 0;
25
+ }
26
+
27
+ p {
28
+ margin: 0 0 1em 0;
29
+ }
30
+
12
31
  pre {
13
32
  background-color: rgb(240,240,240);
14
- padding: 7px;
33
+ font-family: Monaco, monospace;
34
+ font-size: 12px;
35
+ line-height: 1.5em;
36
+ margin: 0 0 1em 0;
37
+ padding: 10px;
38
+
39
+ & + h3 {
40
+ margin-top: 2em;
41
+ }
42
+
15
43
  }
16
44
 
17
45
  }
@@ -1,4 +1,3 @@
1
-
2
1
  html,
3
2
  body {
4
3
  font-family: helvetica, arial, sans-serif;
@@ -21,3 +20,21 @@ td {
21
20
  border: 1px solid rgb(200,200,200);
22
21
  padding: 3px 10px;
23
22
  }
23
+
24
+ blockquote {
25
+ position: relative;
26
+
27
+ &:before {
28
+ content: open-quote;
29
+ left: -10px;
30
+ position: absolute;
31
+ top: -10px;
32
+ }
33
+
34
+ }
35
+
36
+ pre,
37
+ code {
38
+ background-color: rgb(240,240,240);
39
+ padding: 10px;
40
+ }
@@ -1,137 +1,103 @@
1
- <h2>Syntax Cheatsheet:</h2>
1
+ <h2>Markdown Cheatsheet:</h2>
2
2
 
3
- <h3>Phrase Emphasis</h3>
3
+ <a href="http://daringfireball.net/projects/markdown/syntax" target="_blank">
4
+ See full documentation
5
+ </a>
4
6
 
5
- <pre><code>*italic* **bold**
6
- _italic_ __bold__
7
- </code></pre>
8
-
9
- <h3>Links</h3>
7
+ <h3>Emphasis</h3>
10
8
 
11
- <p>Inline:</p>
12
-
13
- <pre><code>An [example](http://url.com/ "Title")
9
+ <pre>
10
+ _italic_
11
+ **bold**
14
12
  </code></pre>
15
13
 
16
- <p>Reference-style labels (titles are optional):</p>
17
-
18
- <pre><code>An [example][id]. Then, anywhere
19
- else in the doc, define the link:
14
+ <h3>Links</h3>
20
15
 
21
- [id]: http://example.com/ "Title"
22
- </code></pre>
16
+ <pre>
17
+ An [example](http://url.com/ "Title")
18
+ </pre>
23
19
 
24
20
  <h3>Images</h3>
25
21
 
26
22
  <p>Inline (titles are optional):</p>
27
23
 
28
- <pre><code>![alt text](/path/img.jpg "Title")
29
- </code></pre>
30
-
31
- <p>Reference-style:</p>
32
-
33
- <pre><code>![alt text][id]
34
-
35
- [id]: /url/to/img.jpg "Title"
36
- </code></pre>
24
+ <pre>
25
+ ![alt text](/path/img.jpg "Title")
26
+ </pre>
37
27
 
38
28
  <h3>Headers</h3>
39
29
 
40
- <p>Setext-style:</p>
41
-
42
- <pre><code>Header 1
43
- ========
44
-
45
- Header 2
46
- --------
47
- </code></pre>
48
-
49
- <p>atx-style (closing #'s are optional):</p>
50
-
51
- <pre><code># Header 1 #
30
+ <pre>
31
+ # Header 1 #
52
32
 
53
33
  ## Header 2 ##
54
34
 
55
35
  ###### Header 6
56
- </code></pre>
36
+ </pre>
57
37
 
58
38
  <h3>Lists</h3>
59
39
 
60
- <p>Ordered, without paragraphs:</p>
61
-
62
- <pre><code>1. Foo
63
- 2. Bar
64
- </code></pre>
65
-
66
- <p>Unordered, with paragraphs:</p>
40
+ <p>Ordered:</p>
67
41
 
68
- <pre><code>* A list item.
42
+ <pre>
43
+ 1. Foo
44
+ 2. Bar
45
+ </pre>
69
46
 
70
- With multiple paragraphs.
47
+ <p>Unordered:</p>
71
48
 
72
- * Bar
73
- </code></pre>
49
+ <pre>
50
+ * Foo
51
+ * Bar
52
+ </pre>
74
53
 
75
54
  <p>You can nest them:</p>
76
55
 
77
- <pre><code>* Abacus
78
- * answer
79
- * Bubbles
80
- 1. bunk
81
- 2. bupkis
82
- * BELITTLER
83
- 3. burper
84
- * Cunning
56
+ <pre>
57
+ * Foo
58
+ * Bar
59
+ * Bubbles
60
+ 1. bunk
61
+ 2. bupkis
62
+ 3. burper
63
+ * Warper
85
64
  </code></pre>
86
65
 
87
66
  <h3>Blockquotes</h3>
88
67
 
89
- <pre><code>&gt; Email-style angle brackets
90
- &gt; are used for blockquotes.
91
-
92
- &gt; &gt; And, they can be nested.
93
-
94
- &gt; #### Headers in blockquotes
95
- &gt;
96
- &gt; * You can quote a list.
97
- &gt; * Etc.
98
- </code></pre>
99
-
100
- <h3>Code Spans</h3>
68
+ <pre>
69
+ > This is a quote
70
+ </pre>
101
71
 
102
- <pre><code>`&lt;code&gt;` spans are delimited
103
- by backticks.
72
+ <h3>Code</h3>
104
73
 
105
- You can include literal backticks
106
- like `` `this` ``.
107
- </code></pre>
74
+ <pre>
75
+ `` Look mom, I'm programming! ``
76
+ </pre>
108
77
 
109
78
  <h3>Preformatted Code Blocks</h3>
110
79
 
111
80
  <p>Indent every line of a code block by at least 4 spaces or 1 tab.</p>
112
81
 
113
- <pre><code>This is a normal paragraph.
82
+ <pre>
83
+ This is a normal paragraph.
114
84
 
115
85
  This is a preformatted
116
86
  code block.
117
- </code></pre>
87
+ </pre>
118
88
 
119
89
  <h3>Horizontal Rules</h3>
120
90
 
121
- <p>Three or more dashes or asterisks:</p>
122
-
123
- <pre><code>---
124
-
125
- * * *
126
-
127
- - - - -
128
- </code></pre>
91
+ <pre>
92
+ ---
93
+ </pre>
129
94
 
130
95
  <h3>Manual Line Breaks</h3>
131
96
 
132
97
  <p>End a line with two or more spaces:</p>
133
98
 
134
- <pre><code>Roses are red,
135
- Violets are blue.
136
- </code></pre>
99
+ <pre>
100
+ Roses are red,
101
+ Violets are blue.
102
+ </pre>
137
103
  </div>
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "239"
3
+ BUILD = "240"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
@@ -6,4 +6,5 @@ class ApplicationPage < Lalala::Page
6
6
  # All page associations should be placed here:
7
7
  # has_many :comments
8
8
 
9
+ markdown :body
9
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.239
4
+ version: 4.0.0.dev.240
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke