markdown-ui 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2b8d70e2a97b8b87cf9d5f1d7a8297d92e29eff
4
- data.tar.gz: aef142d60313c8d24ba027b5d7c6990e858ed404
3
+ metadata.gz: d4d04fc517dd1b29cfdf7f18b46f67ceba909803
4
+ data.tar.gz: 5866cccd06706ffe32067fdabf93b6e46e9f09ab
5
5
  SHA512:
6
- metadata.gz: 2443d6ec896ff8fb610a3abd8127fce415992731af9fddf7c70f858f64f8dd4718ba37b6cfd25712e4c4dfd4a1dabb321f8ec1458dbdf239c64227909fa6e095
7
- data.tar.gz: fd824860dfdaf5db4d11d744d59dc5355376575498adfde07a3b3dace2dfc4049585fb75396c411d21d089c96c7941c22d7303a1936b3cad1bfa2a3b48ad2f62
6
+ metadata.gz: 8f0f3561f7156aa4dd26814ff18c076515a305dab72ce8543f03f3d91771d5e5cce583bd76ad978007ac0873c13c4103c0747f55e8f610cedc7c3717ee66268c
7
+ data.tar.gz: 98009d4c4a0871dae899105ac542ad79f08cfc15b5208390a40f77576d75bee106df7645b92ff8ada7c7b52080c48d95be47a6b8cd180b2de1c663b6733e2c7b
data/Changelog CHANGED
@@ -1,3 +1,22 @@
1
+ 0.1.16 - 11-16-15
2
+ * abbfe2f Added span and content block; added header examples
3
+ * 459aa65 Removed unneeded JS code
4
+ * ce643ba Add Flag Element and Docs
5
+ * 3db8f6a Add divider variations tests
6
+ * 14adbb4 Add Footer, Licensing and Donation info
7
+ * a0bcaab Responsive Documentations via Stackable container/grids
8
+ * 6fd9ce1 set viewport meta to point scale
9
+ * b5fd1a3 set viewport meta to point scale
10
+ * 858e0d6 Update docs with new responsive elements defaults
11
+ * e692b8a Add sensible defaults for mobile first and responsive elements
12
+ * 20ae1a2 Add remaining Divider docs
13
+ * dbae563 Explicitly load Semantic-UI reset stylesheet on the body; Bump to 2.1.6
14
+ * 0ea0792 Added '> Header:' block
15
+ * 0ac0ae5 Added Divider element variations in TOC
16
+ * 8a3d29c Set the default project encoding
17
+ * 1c4401b Update README.md
18
+ * 0e077aa Explain writing in HTML/JS using custom Javascripts
19
+
1
20
  0.1.15 - 11-6-15
2
21
  * Updated Semantic-UI to 2.1.5
3
22
  * Added inverted segment variation test
data/Gemfile CHANGED
@@ -1,6 +1,9 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
+ Encoding.default_external = Encoding::UTF_8
5
+ Encoding.default_internal = Encoding::UTF_8
6
+
4
7
  group :elements do
5
8
  gem 'markdown-ui-button', \
6
9
  path: 'components/elements/markdown-ui-button/'
data/README.md CHANGED
@@ -6,13 +6,46 @@
6
6
 
7
7
  Write UI in Markdown Syntax. See http://jjuliano.github.io/markdown-ui/
8
8
 
9
- ## Installation
9
+ # Installation
10
10
 
11
- $ gem install markdown-ui
11
+ Markdown-UI is readily available as a Ruby gem.
12
+ The minimum required Ruby version is 2.0.
12
13
 
13
- ## Usage
14
+ `$ gem install markdown-ui`
14
15
 
15
- $ markdown-ui file.mdui
16
+ # Usage
17
+
18
+ Output is via standard out, which can be piped to create an HTML file. (Under Mac and Linux)
19
+
20
+ `$ markdown-ui index.mdui > index.html`
21
+
22
+ # Markdown-UI (Read-Evaluate-Print-Loop) REPL shell
23
+
24
+ You can interactively create Markdown-UI websites using the markdown-ui-shell.
25
+
26
+ ```
27
+ $ markdown-ui-shell
28
+
29
+ Hit RETURN three times to parse.
30
+ # __Button|A Button__
31
+ #
32
+ #
33
+
34
+ <button class="ui button">A Button</button>
35
+
36
+ #
37
+ ```
38
+
39
+ # Credits
40
+
41
+ Markdown-UI would not be possible without the the [Semantic-UI](http://www.semantic-ui.com) framework, and the Ruby [RedCarpet](https://github.com/vmg/redcarpet) library. A huge thanks and credit goes to the people behind these wonderful framework and libraries.
42
+
43
+ # Notes/Issues/Bugs
44
+
45
+ * Ongoing support for Semantic-UI elements/modules/components
46
+ * The Colon (:) character will be parsed when used inside a text, needs post-processing to dislay correctly (for URLs)
47
+ * A separator in between two spaces is required on block elements to separate elements (see Column example)
48
+ * Some elements requires custom javascripts (ie toggle button) in order to display and format them properly. You can write in HTML and Javascripts the additional code alongside your Markdown-UI docs to display them properly.
16
49
 
17
50
  ## Contributing
18
51
 
@@ -24,4 +57,3 @@ Write UI in Markdown Syntax. See http://jjuliano.github.io/markdown-ui/
24
57
 
25
58
 
26
59
  [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/jjuliano/markdown-ui/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
27
-
data/TODO.md CHANGED
@@ -64,8 +64,8 @@
64
64
  √ Horizontal Divider
65
65
 
66
66
  * Variations
67
- Inverted
68
- Fitted
69
- Hidden
70
- Section
71
- Clearing
67
+ Inverted
68
+ Fitted
69
+ Hidden
70
+ Section
71
+ Clearing
@@ -0,0 +1,19 @@
1
+ # coding: UTF-8
2
+
3
+ module MarkdownUI
4
+ module Content
5
+ class ContentBlock
6
+ def initialize(element, content)
7
+ @element = element
8
+ @content = content
9
+ end
10
+
11
+ def render
12
+ klass = "ui #{@element} content"
13
+ content = @content.strip
14
+
15
+ MarkdownUI::StandardTag.new(content, klass).render
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,24 @@
1
+ # coding: UTF-8
2
+
3
+ module MarkdownUI
4
+ module Content
5
+ class Flag
6
+ def initialize(content, klass = nil)
7
+ @content = content
8
+ @klass = klass
9
+ end
10
+
11
+ def render
12
+ content = @content.downcase
13
+ klass = MarkdownUI::KlassUtil.new("#{@content} #{@klass} flag").klass
14
+
15
+ output = []
16
+ output << '<i'
17
+ output << klass
18
+ output << '></i>'
19
+
20
+ output.join
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,19 @@
1
+ # coding: UTF-8
2
+
3
+ module MarkdownUI
4
+ module Content
5
+ class HeaderBlock
6
+ def initialize(element, content)
7
+ @element = element
8
+ @content = content
9
+ end
10
+
11
+ def render
12
+ klass = "ui #{@element} header"
13
+ content = @content.strip
14
+
15
+ MarkdownUI::StandardTag.new(content, klass).render
16
+ end
17
+ end
18
+ end
19
+ end
@@ -53,6 +53,8 @@ module MarkdownUI
53
53
  MarkdownUI::Content::Text.new(actual_content, klass).render
54
54
  elsif mode.icon?
55
55
  MarkdownUI::Content::Icon.new(actual_content, klass).render
56
+ elsif mode.flag?
57
+ MarkdownUI::Content::Flag.new(actual_content, klass).render
56
58
  elsif mode.header?
57
59
  MarkdownUI::Content::Header.new(actual_content, klass).render
58
60
  elsif mode.list? && mode.ordered?
@@ -0,0 +1,19 @@
1
+ # coding: UTF-8
2
+
3
+ module MarkdownUI
4
+ module Content
5
+ class SpanBlock
6
+ def initialize(element, content)
7
+ @element = element
8
+ @content = content
9
+ end
10
+
11
+ def render
12
+ klass = "#{@element}"
13
+ content = @content.strip
14
+
15
+ MarkdownUI::SpanTag.new(content, klass).render
16
+ end
17
+ end
18
+ end
19
+ end
@@ -15,19 +15,19 @@ puts <<-EOS
15
15
  <head>
16
16
  <meta charset='utf-8'>
17
17
  <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
18
- <meta name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1'>
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
19
19
 
20
- <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.5/semantic.min.css'>
20
+ <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/semantic.min.css'>
21
21
  <script src='https://code.jquery.com/jquery-2.1.4.min.js'></script>
22
- <script src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.5/semantic.min.js'></script>
22
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/semantic.min.js'></script>
23
23
 
24
24
  <!--[if lt IE 9]>
25
25
  <script src='http://html5shiv.googlecode.com/svn/trunk/html5.js'></script>
26
26
  <![endif]-->
27
27
  </head>
28
-
29
28
  <body>
30
- #{@content}
29
+ <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/components/reset.min.css'>
30
+ #{@content}
31
31
  </body>
32
32
  </html>
33
33
  EOS
@@ -27,7 +27,7 @@ module MarkdownUI
27
27
  end
28
28
 
29
29
  def emphasis(text)
30
- MarkdownUI::Content::Icon.new(text).render
30
+ text =~ /icon/i ? MarkdownUI::Content::Icon.new(text).render : MarkdownUI::Content::Flag.new(text).render
31
31
  end
32
32
 
33
33
  def double_emphasis(text)
@@ -104,6 +104,12 @@ module MarkdownUI
104
104
  MarkdownUI::Content::InputBlock.new(element, content).render
105
105
  when /divider/i
106
106
  MarkdownUI::Content::DividerBlock.new(element, content).render
107
+ when /header/i
108
+ MarkdownUI::Content::HeaderBlock.new(element, content).render
109
+ when /content/i
110
+ MarkdownUI::Content::ContentBlock.new(element, content).render
111
+ when /span/i
112
+ MarkdownUI::Content::SpanBlock.new(element, content).render
107
113
  end
108
114
  end
109
115
  end
@@ -1,3 +1,3 @@
1
1
  module MarkdownUI
2
- VERSION = '0.1.15'
2
+ VERSION = '0.1.16'
3
3
  end
@@ -4,23 +4,23 @@
4
4
  <head>
5
5
  <meta charset='utf-8'>
6
6
  <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
7
- <meta name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1'>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
8
8
 
9
- <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.5/semantic.min.css'>
9
+ <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/semantic.min.css'>
10
10
  <script src='https://code.jquery.com/jquery-2.1.4.min.js'></script>
11
- <script src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.5/semantic.min.js'></script>
11
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/semantic.min.js'></script>
12
12
 
13
13
  <!--[if lt IE 9]>
14
14
  <script src='http://html5shiv.googlecode.com/svn/trunk/html5.js'></script>
15
15
  <![endif]-->
16
16
  </head>
17
-
18
17
  <body>
19
- <div class="ui container">
18
+ <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/components/reset.min.css'>
19
+ <div class="ui container">
20
20
  <div class="ui inverted segment">
21
- <div class="ui inverted menu">
21
+ <div class="ui stackable inverted container menu">
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
- <div class="ui inverted right menu">
23
+ <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="docs/toc.html">Docs</a>
25
25
  <a class="ui active item" href="about.html">About</a>
26
26
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
@@ -61,6 +61,15 @@
61
61
  </ul>
62
62
  </div>
63
63
  </div>
64
+ <!-- -->
65
+ <div class="ui inverted center aligned footer segment container grid">
66
+ <div class="ui ten wide column"><h5 class="ui inverted header">Help Preserve This Project</h5>
67
+ Please help Markdown-UI by means of voluntary donations, money donated to the project will benefit the project by ensuring that Markdown-UI itself will remain well supported for the foreseeable future.
68
+ <p></p>
69
+
70
+ <a class="ui item" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVL2DAA4Y6NXL"><button class="ui primary button">Donate Today</button></a>
71
+ <div class="ui divider"></div><a class="ui item" href="http://markdown-ui.mit-license.org">Free and Open Source (MIT)</a></div>
72
+ </div>
64
73
  </div>
65
74
 
66
75
  </body>
@@ -1,8 +1,8 @@
1
1
  > Container:
2
2
  > > Inverted Segment:
3
- > > > Inverted Menu:
3
+ > > > Stackable Inverted Container Menu:
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
- > > > > Inverted Right Menu:
5
+ > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Docs](docs/toc.html)
7
7
  > > > > [About](about.html "active")
8
8
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
@@ -23,4 +23,14 @@
23
23
  > > > * "rapid prototyping"
24
24
  > > > * "focus on important stuff"
25
25
  > > > * "UI/UX brain-storming sessions via email, whiteboard, text editor, paper, etc."
26
- > > > * "shell-scripting your UI's"
26
+ > > > * "shell-scripting your UI's"
27
+ >
28
+ > <!-- -->
29
+ > > Inverted Center Aligned Footer Segment Container Grid:
30
+ > > > Ten Wide Column:
31
+ > > > ##### Help Preserve This Project:Inverted
32
+ > > > Please help Markdown-UI by means of voluntary donations, money donated to the project will benefit the project by ensuring that Markdown-UI itself will remain well supported for the foreseeable future.
33
+ > > > " "
34
+ > > > [__Primary Button|Donate Today__](PAYPAL_BUTTON)
35
+ > ____
36
+ > > [Free and Open Source (MIT)](http://markdown-ui.mit-license.org)
@@ -1,19 +1,12 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- for i in *.md; do
3
+ for i in *.md docs/*.md ; do
4
4
  echo "PROCESSING FILE: $i"
5
+ dname="$(dirname $i)"
5
6
  name="$(basename $i .md)"
6
- ../exe/markdown-ui $name.md > $name.html
7
+ ../exe/markdown-ui $dname/$name.md > $dname/$name.html
7
8
 
8
- sed -ie 's/&#xFF1A;/:/g' $name.html 2> /dev/null
9
- rm -rf $name.htmle
10
- done
11
-
12
- for i in docs/*.md; do
13
- echo "PROCESSING FILE: $i"
14
- name="$(basename $i .md)"
15
- ../exe/markdown-ui $i > docs/$name.html
16
-
17
- sed -ie 's/&#xFF1A;/:/g' docs/$name.html 2> /dev/null
18
- rm -rf docs/$name.htmle
9
+ sed -ie 's/&#xFF1A;/:/g' $dname/$name.html 2> /dev/null
10
+ sed -ie 's/PAYPAL_BUTTON/https\:\/\/www\.paypal\.com\/cgi\-bin\/webscr\?cmd\=\_s\-xclick\&hosted_button_id=RVL2DAA4Y6NXL/g' $dname/$name.html 2> /dev/null
11
+ rm -rf $dname/$name.htmle
19
12
  done
@@ -4,23 +4,23 @@
4
4
  <head>
5
5
  <meta charset='utf-8'>
6
6
  <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
7
- <meta name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1'>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
8
8
 
9
- <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.5/semantic.min.css'>
9
+ <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/semantic.min.css'>
10
10
  <script src='https://code.jquery.com/jquery-2.1.4.min.js'></script>
11
- <script src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.5/semantic.min.js'></script>
11
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/semantic.min.js'></script>
12
12
 
13
13
  <!--[if lt IE 9]>
14
14
  <script src='http://html5shiv.googlecode.com/svn/trunk/html5.js'></script>
15
15
  <![endif]-->
16
16
  </head>
17
-
18
17
  <body>
19
- <div class="ui container">
18
+ <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.6/components/reset.min.css'>
19
+ <div class="ui container">
20
20
  <div class="ui inverted segment">
21
- <div class="ui inverted menu">
21
+ <div class="ui stackable inverted container menu">
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
- <div class="ui inverted right menu">
23
+ <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
25
  <a class="ui item" href="../about.html">About</a>
26
26
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
@@ -42,7 +42,7 @@
42
42
  <p>Standard Button</p>
43
43
  </div>
44
44
  <!-- -->
45
- <div class="ui divided segment grid">
45
+ <div class="ui stackable divided segment grid">
46
46
  <div class="ui attached segment">
47
47
  <div class="ui top attached label">Standard Button</div>
48
48
  </div>
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
  </div>
62
62
  <!-- -->
63
- <div class="ui divided segment grid">
63
+ <div class="ui stackable divided segment grid">
64
64
  <div class="ui attached segment">
65
65
  <div class="ui top attached label">Standard Button with Custom Class And ID</div>
66
66
  </div>
@@ -78,7 +78,7 @@
78
78
  </div>
79
79
  </div>
80
80
  <!-- -->
81
- <div class="ui divided segment grid">
81
+ <div class="ui stackable divided segment grid">
82
82
  <div class="ui attached segment">
83
83
  <div class="ui top attached label">Focusable Button</div>
84
84
  </div>
@@ -101,7 +101,7 @@
101
101
  <p>A button can be formatted to show different levels of emphasis</p>
102
102
  </div>
103
103
  <!-- -->
104
- <div class="ui divided segment grid">
104
+ <div class="ui stackable divided segment grid">
105
105
  <div class="ui attached segment">
106
106
  <div class="ui top attached label">Emphasis</div>
107
107
  </div>
@@ -130,7 +130,7 @@
130
130
  <p>A button can animate to show hidden content</p>
131
131
  </div>
132
132
  <!-- -->
133
- <div class="ui divided segment grid">
133
+ <div class="ui stackable divided segment grid">
134
134
  <div class="ui attached segment">
135
135
  <div class="ui top attached label">Animated</div>
136
136
  </div>
@@ -153,7 +153,7 @@
153
153
  </div>
154
154
  </div>
155
155
  <!-- -->
156
- <div class="ui divided segment grid">
156
+ <div class="ui stackable divided segment grid">
157
157
  <div class="ui attached segment">
158
158
  <div class="ui top attached label">Vertical Animated</div>
159
159
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
  </div>
178
178
  <!-- -->
179
- <div class="ui divided segment grid">
179
+ <div class="ui stackable divided segment grid">
180
180
  <div class="ui attached segment">
181
181
  <div class="ui top attached label">Fade Animated</div>
182
182
  </div>
@@ -202,7 +202,7 @@
202
202
  <p>A button can have only an icon</p>
203
203
  </div>
204
204
  <!-- -->
205
- <div class="ui divided segment grid">
205
+ <div class="ui stackable divided segment grid">
206
206
  <div class="ui attached segment">
207
207
  <div class="ui top attached label">Icon Button</div>
208
208
  </div>
@@ -227,7 +227,7 @@
227
227
  <p>A button can have an icon and a label</p>
228
228
  </div>
229
229
  <!-- -->
230
- <div class="ui divided segment grid">
230
+ <div class="ui stackable divided segment grid">
231
231
  <div class="ui attached segment">
232
232
  <div class="ui top attached label">Labeled Icon</div>
233
233
  </div>
@@ -250,7 +250,7 @@
250
250
  <p>A basic button is less pronounced</p>
251
251
  </div>
252
252
  <!-- -->
253
- <div class="ui divided segment grid">
253
+ <div class="ui stackable divided segment grid">
254
254
  <div class="ui attached segment">
255
255
  <div class="ui top attached label">Basic Button</div>
256
256
  </div>
@@ -268,7 +268,7 @@
268
268
  </div>
269
269
  </div>
270
270
  <!-- -->
271
- <div class="ui divided segment grid">
271
+ <div class="ui stackable divided segment grid">
272
272
  <div class="ui attached segment">
273
273
  <div class="ui top attached label">Basic Button</div>
274
274
  </div>
@@ -318,7 +318,7 @@
318
318
  <p>A button can be formatted to appear on dark backgrounds</p>
319
319
  </div>
320
320
  <!-- -->
321
- <div class="ui divided segment grid">
321
+ <div class="ui stackable divided segment grid">
322
322
  <div class="ui attached segment">
323
323
  <div class="ui top attached label">Inverted</div>
324
324
  </div>
@@ -376,7 +376,7 @@
376
376
  <p>Buttons can exist together as a group</p>
377
377
  </div>
378
378
  <!-- -->
379
- <div class="ui divided segment grid">
379
+ <div class="ui stackable divided segment grid">
380
380
  <div class="ui attached segment">
381
381
  <div class="ui top attached label">Buttons</div>
382
382
  </div>
@@ -409,7 +409,7 @@
409
409
  <p>Buttons can exist together as a group</p>
410
410
  </div>
411
411
  <!-- -->
412
- <div class="ui divided segment grid">
412
+ <div class="ui stackable divided segment grid">
413
413
  <div class="ui attached segment">
414
414
  <div class="ui top attached label">Buttons</div>
415
415
  </div>
@@ -481,7 +481,7 @@
481
481
  <p>Button groups can contain conditionals</p>
482
482
  </div>
483
483
  <!-- -->
484
- <div class="ui divided segment grid">
484
+ <div class="ui stackable divided segment grid">
485
485
  <div class="ui attached segment">
486
486
  <div class="ui top attached label">Conditionals</div>
487
487
  </div>
@@ -540,7 +540,7 @@
540
540
  <p>A button can show it is currently the active user selection</p>
541
541
  </div>
542
542
  <!-- -->
543
- <div class="ui divided segment grid">
543
+ <div class="ui stackable divided segment grid">
544
544
  <div class="ui attached segment">
545
545
  <div class="ui top attached label">Active State</div>
546
546
  </div>
@@ -563,7 +563,7 @@
563
563
  <p>A button can show it is currently unable to be interacted with</p>
564
564
  </div>
565
565
  <!-- -->
566
- <div class="ui divided segment grid">
566
+ <div class="ui stackable divided segment grid">
567
567
  <div class="ui attached segment">
568
568
  <div class="ui top attached label">Disabled State</div>
569
569
  </div>
@@ -586,7 +586,7 @@
586
586
  <p>A button can show a loading indicator</p>
587
587
  </div>
588
588
  <!-- -->
589
- <div class="ui divided segment grid">
589
+ <div class="ui stackable divided segment grid">
590
590
  <div class="ui attached segment">
591
591
  <div class="ui top attached label">Loading State</div>
592
592
  </div>
@@ -622,7 +622,7 @@
622
622
  <p>A button can be formatted to link to a social website</p>
623
623
  </div>
624
624
  <!-- -->
625
- <div class="ui divided segment grid">
625
+ <div class="ui stackable divided segment grid">
626
626
  <div class="ui attached segment">
627
627
  <div class="ui top attached label">Social</div>
628
628
  </div>
@@ -664,7 +664,7 @@
664
664
  <p>A button can have different sizes</p>
665
665
  </div>
666
666
  <!-- -->
667
- <div class="ui divided segment grid">
667
+ <div class="ui stackable divided segment grid">
668
668
  <div class="ui attached segment">
669
669
  <div class="ui top attached label">Size</div>
670
670
  </div>
@@ -708,7 +708,7 @@
708
708
  <p>A button can have different colors</p>
709
709
  </div>
710
710
  <!-- -->
711
- <div class="ui divided segment grid">
711
+ <div class="ui stackable divided segment grid">
712
712
  <div class="ui attached segment">
713
713
  <div class="ui top attached label">Colored</div>
714
714
  </div>
@@ -767,7 +767,7 @@
767
767
  <p>A button can reduce its padding to fit into tighter spaces</p>
768
768
  </div>
769
769
  <!-- -->
770
- <div class="ui divided segment grid">
770
+ <div class="ui stackable divided segment grid">
771
771
  <div class="ui attached segment">
772
772
  <div class="ui top attached label">Compact</div>
773
773
  </div>
@@ -798,7 +798,7 @@
798
798
  <p>A button can hint towards a positive consequence</p>
799
799
  </div>
800
800
  <!-- -->
801
- <div class="ui divided segment grid">
801
+ <div class="ui stackable divided segment grid">
802
802
  <div class="ui attached segment">
803
803
  <div class="ui top attached label">Positive</div>
804
804
  </div>
@@ -825,7 +825,7 @@
825
825
  <p>A button can hint towards a negative consequence</p>
826
826
  </div>
827
827
  <!-- -->
828
- <div class="ui divided segment grid">
828
+ <div class="ui stackable divided segment grid">
829
829
  <div class="ui attached segment">
830
830
  <div class="ui top attached label">Negative</div>
831
831
  </div>
@@ -849,7 +849,7 @@
849
849
  <p>A button can take the width of its container</p>
850
850
  </div>
851
851
  <!-- -->
852
- <div class="ui divided segment grid">
852
+ <div class="ui stackable divided segment grid">
853
853
  <div class="ui attached segment">
854
854
  <div class="ui top attached label">Fluid</div>
855
855
  </div>
@@ -873,7 +873,7 @@
873
873
  <p>A button can be circular</p>
874
874
  </div>
875
875
  <!-- -->
876
- <div class="ui divided segment grid">
876
+ <div class="ui stackable divided segment grid">
877
877
  <div class="ui attached segment">
878
878
  <div class="ui top attached label">Circular</div>
879
879
  </div>
@@ -899,7 +899,7 @@
899
899
  <p>A button can be attached to the top or bottom of other content</p>
900
900
  </div>
901
901
  <!-- -->
902
- <div class="ui divided segment grid">
902
+ <div class="ui stackable divided segment grid">
903
903
  <div class="ui attached segment">
904
904
  <div class="ui top attached label">Vertically Attached</div>
905
905
  </div>
@@ -988,7 +988,7 @@
988
988
  <p>A button can be attached to the left or right of other content</p>
989
989
  </div>
990
990
  <!-- -->
991
- <div class="ui divided segment grid">
991
+ <div class="ui stackable divided segment grid">
992
992
  <div class="ui attached segment">
993
993
  <div class="ui top attached label">Horizontally Attached</div>
994
994
  </div>
@@ -1018,7 +1018,7 @@
1018
1018
  <p>Groups can be formatted to appear vertically</p>
1019
1019
  </div>
1020
1020
  <!-- -->
1021
- <div class="ui divided segment grid">
1021
+ <div class="ui stackable divided segment grid">
1022
1022
  <div class="ui attached segment">
1023
1023
  <div class="ui top attached label">Vertical Buttons</div>
1024
1024
  </div>
@@ -1054,7 +1054,7 @@
1054
1054
  <p>Groups can be formatted as icons</p>
1055
1055
  </div>
1056
1056
  <!-- -->
1057
- <div class="ui divided segment grid">
1057
+ <div class="ui stackable divided segment grid">
1058
1058
  <div class="ui attached segment">
1059
1059
  <div class="ui top attached label">Icon Buttons</div>
1060
1060
  </div>
@@ -1093,7 +1093,7 @@
1093
1093
  <p>Groups can be formatted as labeled icons</p>
1094
1094
  </div>
1095
1095
  <!-- -->
1096
- <div class="ui divided segment grid">
1096
+ <div class="ui stackable divided segment grid">
1097
1097
  <div class="ui attached segment">
1098
1098
  <div class="ui top attached label">Labeled Icon Buttons</div>
1099
1099
  </div>
@@ -1126,7 +1126,7 @@
1126
1126
  <p>Groups can be formatted to use multiple button types together</p>
1127
1127
  </div>
1128
1128
  <!-- -->
1129
- <div class="ui divided segment grid">
1129
+ <div class="ui stackable divided segment grid">
1130
1130
  <div class="ui attached segment">
1131
1131
  <div class="ui top attached label">Mixed Group</div>
1132
1132
  </div>
@@ -1159,7 +1159,7 @@
1159
1159
  <p>Groups can have their widths divided evenly</p>
1160
1160
  </div>
1161
1161
  <!-- -->
1162
- <div class="ui divided segment grid">
1162
+ <div class="ui stackable divided segment grid">
1163
1163
  <div class="ui attached segment">
1164
1164
  <div class="ui top attached label">Equal Width</div>
1165
1165
  </div>
@@ -1218,7 +1218,7 @@
1218
1218
  <p>Groups can have a shared color</p>
1219
1219
  </div>
1220
1220
  <!-- -->
1221
- <div class="ui divided segment grid">
1221
+ <div class="ui stackable divided segment grid">
1222
1222
  <div class="ui attached segment">
1223
1223
  <div class="ui top attached label">Colored Buttons</div>
1224
1224
  </div>
@@ -1251,7 +1251,7 @@
1251
1251
  <p>A button group can be less pronounced</p>
1252
1252
  </div>
1253
1253
  <!-- -->
1254
- <div class="ui divided segment grid">
1254
+ <div class="ui stackable divided segment grid">
1255
1255
  <div class="ui attached segment">
1256
1256
  <div class="ui top attached label">Basic Buttons</div>
1257
1257
  </div>
@@ -1326,7 +1326,7 @@
1326
1326
  <p>Groups can have a shared size</p>
1327
1327
  </div>
1328
1328
  <!-- -->
1329
- <div class="ui divided segment grid">
1329
+ <div class="ui stackable divided segment grid">
1330
1330
  <div class="ui attached segment">
1331
1331
  <div class="ui top attached label">Group Sizes</div>
1332
1332
  </div>
@@ -1409,6 +1409,15 @@
1409
1409
  </div>
1410
1410
  </div>
1411
1411
  </div>
1412
+ <!-- -->
1413
+ <div class="ui inverted center aligned footer segment container grid">
1414
+ <div class="ui ten wide column"><h5 class="ui inverted header">Help Preserve This Project</h5>
1415
+ Please help Markdown-UI by means of voluntary donations, money donated to the project will benefit the project by ensuring that Markdown-UI itself will remain well supported for the foreseeable future.
1416
+ <p></p>
1417
+
1418
+ <a class="ui item" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVL2DAA4Y6NXL"><button class="ui primary button">Donate Today</button></a>
1419
+ <div class="ui divider"></div><a class="ui item" href="http://markdown-ui.mit-license.org">Free and Open Source (MIT)</a></div>
1420
+ </div>
1412
1421
  </div>
1413
1422
 
1414
1423
  </body>