markdown-ui 0.1.17 → 0.1.18

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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog +12 -0
  3. data/components/collections/markdown-ui-grid/lib/grid/column/column.rb +10 -8
  4. data/components/collections/markdown-ui-grid/lib/grid/grid.rb +10 -8
  5. data/components/collections/markdown-ui-grid/lib/grid/row/row.rb +10 -8
  6. data/components/collections/markdown-ui-menu/lib/menu/custom.rb +2 -3
  7. data/components/collections/markdown-ui-menu/lib/menu/element.rb +16 -53
  8. data/components/collections/markdown-ui-menu/lib/menu/item.rb +18 -0
  9. data/components/collections/markdown-ui-message/lib/message/{message.rb → element.rb} +0 -0
  10. data/components/collections/markdown-ui-message/lib/message/icon_message.rb +18 -0
  11. data/components/elements/markdown-ui-button/lib/button/element.rb +5 -2
  12. data/components/elements/markdown-ui-button/lib/button/toggle.rb +43 -0
  13. data/components/shared/markdown-ui-shared/lib/shared/tag_klass.rb +2 -1
  14. data/exe/markdown-ui +1 -1
  15. data/exe/markdown-ui-shell +1 -1
  16. data/lib/markdown-ui/parser.rb +12 -0
  17. data/lib/markdown-ui/renderers/block_quote.rb +3 -2
  18. data/lib/markdown-ui/tag/field_tag.rb +11 -0
  19. data/lib/markdown-ui/tag/nav_tag.rb +14 -0
  20. data/lib/markdown-ui/tag/script_tag.rb +11 -0
  21. data/lib/markdown-ui/version.rb +1 -1
  22. data/website/docs/button.html +0 -1
  23. data/website/docs/button.md +0 -1
  24. data/website/docs/container.html +0 -1
  25. data/website/docs/container.md +0 -1
  26. data/website/docs/divider.html +0 -1
  27. data/website/docs/divider.md +0 -1
  28. data/website/docs/flag.html +0 -1
  29. data/website/docs/flag.md +0 -1
  30. data/website/docs/header.html +0 -1
  31. data/website/docs/header.md +0 -1
  32. data/website/docs/icon.html +0 -1
  33. data/website/docs/icon.md +0 -1
  34. data/website/docs/toc.html +0 -1
  35. data/website/docs/toc.md +0 -1
  36. data/website/index.html +4 -3
  37. data/website/index.md +6 -2
  38. metadata +10 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b53533dfc4d6ed629c6debc10ade3fabb9b7f0a
4
- data.tar.gz: 9f8a4853a8f5293434303862696c8bc7069c0ecc
3
+ metadata.gz: 939752583db6ecdf875d6692253da09075b906d4
4
+ data.tar.gz: 5b43d42b72f656c55e3ff08e847f470fddfc6586
5
5
  SHA512:
6
- metadata.gz: d81b2e0feb995a768f1e394a8ca3f2b1051a82e36f9698026e87f8fa500a17253d04fba2bdced7171656f1fac1ebb773cdfe2186f4e2365c4149d217fbab413e
7
- data.tar.gz: 23188f91ec79060bcad34508d8766e9761a277cf136b66653d4a4846fd27f107c521ee36bdd73e94fcf6e593fbe1c89d9d7cccb8a53d9f6e55a2db310459838b
6
+ metadata.gz: 272aeadf67df01886f349297b48c5370d9f9c71b48da01ca6c05dbe2e6abdb9eede030c5423874d2695d9002e061307fca199c0833514edfd206c3178e711dd9
7
+ data.tar.gz: 74058ac51b735aebfdc4b794150312139084d631cbeffb1e0ffe6067d3cdcb68cca06a40806ee43f591196cbc138a4557581cbf8b994f62029c5a2ed97737ac0
data/Changelog CHANGED
@@ -1,3 +1,15 @@
1
+ 0.1.18 - 01-04-16
2
+
3
+ * fc6277a Parser is now initialized via MarkdownUI::Parser
4
+ * 62a9bae added about in main page
5
+ * c053db9 Add the Row Grid to the Block Quote declaration
6
+ * 5cd66e3 Added uuid in toggle button elements in order to avoid object collision
7
+ * 7d77f55 Added script tag
8
+ * 9a14028 Added script and field tag
9
+ * c8d3e6f Added Icon Message
10
+ * 6d7c5bb Added Nav Tag
11
+ * 25fe687 [Refactor] Menu element
12
+
1
13
  0.1.17 - 11-25-15
2
14
 
3
15
  * 5658cf7 Added Article, Footer, Header and Section Tag; Refactor Tag
@@ -1,15 +1,17 @@
1
1
  # coding: UTF-8
2
2
  module MarkdownUI
3
- class Column < MarkdownUI::Shared::TagKlass
4
- def initialize(_element, _content)
5
- @element = _element
6
- @content = _content
7
- end
3
+ module Grid
4
+ class Column < MarkdownUI::Shared::TagKlass
5
+ def initialize(_element, _content)
6
+ @element = _element
7
+ @content = _content
8
+ end
8
9
 
9
- def render
10
- @klass = "ui #{element} column"
10
+ def render
11
+ @klass = "ui #{element} column"
11
12
 
12
- MarkdownUI::StandardTag.new(content, klass_text).render
13
+ MarkdownUI::StandardTag.new(content, klass_text).render
14
+ end
13
15
  end
14
16
  end
15
17
  end
@@ -1,15 +1,17 @@
1
1
  # coding: UTF-8
2
2
  module MarkdownUI
3
- class Grid < MarkdownUI::Shared::TagKlass
4
- def initialize(_element, _content)
5
- @element = _element
6
- @content = _content
7
- end
3
+ module Grid
4
+ class Grid < MarkdownUI::Shared::TagKlass
5
+ def initialize(_element, _content)
6
+ @element = _element
7
+ @content = _content
8
+ end
8
9
 
9
- def render
10
- @klass = "ui #{element} grid"
10
+ def render
11
+ @klass = "ui #{element} grid"
11
12
 
12
- MarkdownUI::StandardTag.new(content, klass_text).render
13
+ MarkdownUI::StandardTag.new(content, klass_text).render
14
+ end
13
15
  end
14
16
  end
15
17
  end
@@ -1,15 +1,17 @@
1
1
  # coding: UTF-8
2
2
  module MarkdownUI
3
- class Row < MarkdownUI::Shared::TagKlass
4
- def initialize(_element, _content)
5
- @element = _element
6
- @content = _content
7
- end
3
+ module Grid
4
+ class Row < MarkdownUI::Shared::TagKlass
5
+ def initialize(_element, _content)
6
+ @element = _element
7
+ @content = _content
8
+ end
8
9
 
9
- def render
10
- @klass = "ui #{element} row"
10
+ def render
11
+ @klass = "ui #{element} row"
11
12
 
12
- MarkdownUI::StandardTag.new(content, klass_text).render
13
+ MarkdownUI::StandardTag.new(content, klass_text).render
14
+ end
13
15
  end
14
16
  end
15
17
  end
@@ -3,14 +3,13 @@
3
3
  module MarkdownUI
4
4
  module Menu
5
5
  class Custom < MarkdownUI::Shared::TagKlass
6
- def initialize(_element, _content, _klass = nil)
7
- @element = _element
6
+ def initialize(_content, _klass = nil)
8
7
  @_klass = _klass
9
8
  @content = _content
10
9
  end
11
10
 
12
11
  def render
13
- @klass = "ui #{element} #{@_klass} menu"
12
+ @klass = "ui #{@_klass} menu"
14
13
 
15
14
  MarkdownUI::StandardTag.new(content, klass_text).render
16
15
  end
@@ -1,64 +1,27 @@
1
1
  module MarkdownUI
2
2
  module Menu
3
- class Element
4
- def initialize(element, content, klass = nil)
5
- @element = element
6
- @content = content
7
- @klass = klass
8
- end
9
-
10
- def render
11
- element = if @element.is_a? Array
12
- @element
13
- else
14
- @element.split(' ')
15
- end
16
-
17
- content = @content
18
-
19
- klass = if @klass.nil?
20
- element.join(' ').strip
21
- else
22
- @klass
23
- end
24
-
25
- mode = OpenStruct.new(
26
- :item? => element.grep(/item/i).any?,
27
- :secondary? => element.grep(/secondary/i).any?,
28
- :pagination? => element.grep(/pagination/i).any?,
29
- :pointing? => element.grep(/pointing/i).any?,
30
- :tabular? => element.grep(/tabular/i).any?,
31
- :text? => element.grep(/text/i).any?,
32
- :vertical? => element.grep(/vertical/i).any?
3
+ class Element < MarkdownUI::Shared::TagKlass
4
+ def initialize(_element, _content, _klass = nil)
5
+ @elements = Hash.new(MarkdownUI::Menu::Standard).merge(
6
+ item: MarkdownUI::Menu::Item,
7
+ secondary: MarkdownUI::Menu::Secondary,
8
+ pagination: MarkdownUI::Menu::Pagination,
9
+ pointing: MarkdownUI::Menu::Pointing,
10
+ tabular: MarkdownUI::Menu::Tabular,
11
+ text: MarkdownUI::Menu::Text,
12
+ vertical: MarkdownUI::Menu::Vertical
33
13
  )
34
14
 
35
- if standard_menu?(mode) && element.size > 1
36
- MarkdownUI::Menu::Custom.new(element, content, klass).render
37
- elsif mode.item?
38
- MarkdownUI::Menu::Custom.new(element, content, klass).render
39
- elsif mode.secondary?
40
- MarkdownUI::Menu::Secondary.new(content, klass).render
41
- elsif mode.pagination?
42
- MarkdownUI::Menu::Pagination.new(content, klass).render
43
- elsif mode.pointing?
44
- MarkdownUI::Menu::Pointing.new(content, klass).render
45
- elsif mode.tabular?
46
- MarkdownUI::Menu::Tabular.new(content, klass).render
47
- elsif mode.text?
48
- MarkdownUI::Menu::Text.new(content, klass).render
49
- elsif mode.vertical?
50
- MarkdownUI::Menu::Vertical.new(content, klass).render
51
- elsif standard_menu?(mode)
52
- MarkdownUI::Menu::Standard.new(content, klass).render
53
- end
15
+ @element = _element
16
+ @content = _content
17
+ @klass = "#{_klass}" "#{element}"
54
18
  end
55
19
 
56
- protected
20
+ def render
21
+ @params = element.split
57
22
 
58
- def standard_menu?(mode)
59
- !mode.item? && !mode.secondary? && !mode.pagination? && !mode.pointing? && !mode.tabular? && !mode.text? && !mode.vertical?
23
+ html { @elements[key].new(content, klass_text).render } if content
60
24
  end
61
-
62
25
  end
63
26
  end
64
27
  end
@@ -0,0 +1,18 @@
1
+ # coding: UTF-8
2
+
3
+ module MarkdownUI
4
+ module Menu
5
+ class Item < MarkdownUI::Shared::TagKlass
6
+ def initialize(_content, _klass = nil)
7
+ @_klass = _klass
8
+ @content = _content
9
+ end
10
+
11
+ def render
12
+ @klass = "ui #{@_klass} item menu"
13
+
14
+ MarkdownUI::StandardTag.new(content, klass_text).render
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,18 @@
1
+ # coding: UTF-8
2
+
3
+ module MarkdownUI
4
+ module Message
5
+ class IconMessage < MarkdownUI::Shared::TagKlass
6
+ def initialize(_content, _klass = nil)
7
+ @_klass = _klass
8
+ @content = _content
9
+ end
10
+
11
+ def render
12
+ @klass = "ui #{@_klass} icon message"
13
+
14
+ MarkdownUI::StandardTag.new(content, klass_text).render
15
+ end
16
+ end
17
+ end
18
+ end
@@ -32,7 +32,8 @@ module MarkdownUI
32
32
  :focusable? => element.grep(/focusable/i).any?,
33
33
  :animated? => element.grep(/animated/i).any?,
34
34
  :labeled? => element.grep(/labeled/i).any?,
35
- :basic? => element.grep(/basic/i).any?
35
+ :basic? => element.grep(/basic/i).any?,
36
+ :toggle? => element.grep(/toggle/i).any?
36
37
  )
37
38
 
38
39
  if content
@@ -49,6 +50,8 @@ module MarkdownUI
49
50
  MarkdownUI::Button::Basic.new(content, klass, _id).render
50
51
  elsif mode.animated?
51
52
  MarkdownUI::Button::Animated.new(content, klass, _id).render
53
+ elsif mode.toggle?
54
+ MarkdownUI::Button::Toggle.new(content, klass, _id).render
52
55
  elsif standard_button?(mode)
53
56
  MarkdownUI::Button::Standard.new(content, klass, _id).render
54
57
  end
@@ -60,7 +63,7 @@ module MarkdownUI
60
63
  protected
61
64
 
62
65
  def standard_button?(mode)
63
- !mode.focusable? && !mode.animated? && !mode.icon? && !mode.labeled? && !mode.basic?
66
+ !mode.focusable? && !mode.animated? && !mode.icon? && !mode.labeled? && !mode.basic? && !mode.toggle?
64
67
  end
65
68
 
66
69
  end
@@ -0,0 +1,43 @@
1
+ # coding: UTF-8
2
+ require 'securerandom'
3
+
4
+ module MarkdownUI
5
+ module Button
6
+ class Toggle
7
+ def initialize(content, klass = nil, _id = nil)
8
+ @content = content
9
+ @klass = klass
10
+ @id = _id
11
+ @inactive_content, @active_content = content.is_a?(Array) ? content : content.split(';')
12
+ end
13
+
14
+ def render
15
+ uuid ||= SecureRandom.uuid.gsub("-", "_")
16
+ klass = "ui #{@klass} #{uuid} toggle button"
17
+ _id = @id
18
+ inactive_content = @inactive_content
19
+ active_content = @active_content
20
+
21
+ content = [
22
+ MarkdownUI::ButtonTag.new(inactive_content, klass, _id).render,
23
+ MarkdownUI::ScriptTag.new("
24
+ $(document)
25
+ .ready(function() {
26
+ $('.ui.#{uuid}.toggle.button')
27
+ .state({
28
+ text: {
29
+ inactive : '#{inactive_content}',
30
+ active : '#{active_content}'
31
+ }
32
+ })
33
+ ;
34
+ })
35
+ ;
36
+ "
37
+ ).render].join
38
+
39
+ MarkdownUI::FieldTag.new(content).render
40
+ end
41
+ end
42
+ end
43
+ end
@@ -66,7 +66,8 @@ module MarkdownUI
66
66
  end
67
67
 
68
68
  def key
69
- keys.grep(regexp).first
69
+ _keys = keys.grep(regexp)
70
+ _keys.size > 2 ? _keys.join(' ') : _keys.first
70
71
  end
71
72
 
72
73
  def keys
@@ -3,7 +3,7 @@
3
3
  require 'bundler/setup'
4
4
  require 'markdown-ui'
5
5
 
6
- parser = Redcarpet::Markdown.new(MarkdownUI::Renderer, quote: true, tables: true, xhtml: true)
6
+ parser = MarkdownUI::Parser.new
7
7
  f = File.open(ARGV.first, 'r')
8
8
  @content = parser.render f.read
9
9
  f.close
@@ -23,7 +23,7 @@ def prompt(*args)
23
23
  end
24
24
 
25
25
  while m = prompt("# ")
26
- parser = Redcarpet::Markdown.new(MarkdownUI::Renderer, quote: true, tables: true, xhtml: true)
26
+ parser = MarkdownUI::Parser.new
27
27
  puts <<-EOF
28
28
 
29
29
  #{parser.render(m)}
@@ -0,0 +1,12 @@
1
+ module MarkdownUI
2
+ class Parser
3
+ def initialize
4
+ @parser = Redcarpet::Markdown.new(MarkdownUI::Renderer, quote: true, tables: true, xhtml: true)
5
+ end
6
+
7
+ def render(markdown)
8
+ @parser.render(markdown)
9
+ end
10
+ end
11
+ end
12
+
@@ -8,8 +8,9 @@ module MarkdownUI
8
8
  @elements = Hash.new(MarkdownUI::Content::BasicBlock).merge(
9
9
  button: MarkdownUI::Button::Element,
10
10
  segment: MarkdownUI::Segment,
11
- grid: MarkdownUI::Grid,
12
- column: MarkdownUI::Column,
11
+ grid: MarkdownUI::Grid::Grid,
12
+ row: MarkdownUI::Grid::Row,
13
+ column: MarkdownUI::Grid::Column,
13
14
  container: MarkdownUI::Container::Element,
14
15
  buttons: MarkdownUI::Button::Group::Buttons::Element,
15
16
  label: MarkdownUI::Label::Element,
@@ -0,0 +1,11 @@
1
+ module MarkdownUI
2
+ class FieldTag < MarkdownUI::Shared::TagKlass
3
+ def initialize(_content, _klass = nil, __id = nil, _data = nil)
4
+ @content = _content
5
+ end
6
+
7
+ def render
8
+ "<field#{_id}#{klass}#{data}>#{@content}</field>"
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,14 @@
1
+ module MarkdownUI
2
+ class NavTag < MarkdownUI::Shared::TagKlass
3
+ def initialize(_content, _klass = nil, __id = nil, _data = nil)
4
+ @klass = _klass
5
+ @content = _content
6
+ @data = _data
7
+ @id = __id
8
+ end
9
+
10
+ def render
11
+ "<nav#{_id}#{klass}#{data}>#{content}</nav>"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,11 @@
1
+ module MarkdownUI
2
+ class ScriptTag < MarkdownUI::Shared::TagKlass
3
+ def initialize(_content)
4
+ @content = _content
5
+ end
6
+
7
+ def render
8
+ "<script>#{@content}</script>"
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module MarkdownUI
2
- VERSION = '0.1.17'
2
+ VERSION = '0.1.18'
3
3
  end
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Table of Contents](toc.html)
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Table of Contents](toc.html)
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Table of Contents](toc.html)
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Table of Contents](toc.html)
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Table of Contents](toc.html)
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="toc.html">Table of Contents</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Table of Contents](toc.html)
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui active item" href="toc.html">Docs</a>
25
- <a class="ui item" href="../about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="../index.html#install">Install</a>
28
27
  </div>
@@ -4,7 +4,6 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Docs](toc.html "active")
7
- > > > > [About](../about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](../index.html#install)
10
9
  >
@@ -22,7 +22,6 @@
22
22
  <a class="ui active basic item" href="http://jjuliano.github.io/markdown-ui">Markdown UI</a>
23
23
  <div class="ui stackable inverted right menu">
24
24
  <a class="ui item" href="docs/toc.html">Docs</a>
25
- <a class="ui item" href="about.html">About</a>
26
25
  <a class="ui item" href="https://github.com/jjuliano/markdown-ui">Github</a>
27
26
  <a class="ui item" href="#install">Install</a>
28
27
  </div>
@@ -31,7 +30,7 @@
31
30
  <!-- -->
32
31
  <div class="ui inverted attached basic blue very padded segment">
33
32
  <h1 class="ui header">Markdown UI</h1>
34
- <h3 class="ui header">Responsive UI in Markdown</h3>
33
+ <h3 class="ui header">Create Beautiful and Responsive Websites in Markdown Syntax</h3>
35
34
  <a class="ui item" href="docs/toc.html">
36
35
  <button class="ui button">Get Started</button>
37
36
  </a>
@@ -39,7 +38,9 @@
39
38
  <!-- -->
40
39
  <div class="ui basic attached segment">
41
40
  <div class="ui stackable equal width grid">
42
- <div class="ui column"><h2 id="install" class="ui header">Installation</h2>
41
+ <div class="ui column"><h2 id="about" class="ui header">About</h2>
42
+ Markdown-UI is a development framework that utilizes the <a class="ui item" href="http://www.semantic-ui.com">Semantic-UI</a>
43
+ web framework, to create beautiful, human-friendly HTML and responsive layouts using Markdown Syntax.Markdown-UI is not affiliated with Semantic-UI in any matter.<h2 id="install" class="ui header">Installation</h2>
43
44
  Markdown-UI is readily available as a Ruby gem. The minimum required Ruby version is 2.0. <br /> <br />
44
45
  <code>gem install markdown-ui</code><h2 id="usage" class="ui header">Usage</h2>
45
46
  Output is via standard out, which can be piped to create an HTML file. (Under Mac and Linux) <br /> <br />
@@ -4,20 +4,24 @@
4
4
  > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "active basic")
5
5
  > > > > Stackable Inverted Right Menu:
6
6
  > > > > [Docs](docs/toc.html)
7
- > > > > [About](about.html)
8
7
  > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
8
  > > > > [Install](#install)
10
9
  >
11
10
  > <!-- -->
12
11
  > > Inverted Attached Basic Blue Very Padded Segment:
13
12
  > > # Markdown UI
14
- > > ### Responsive UI in Markdown
13
+ > > ### Create Beautiful and Responsive Websites in Markdown Syntax
15
14
  > > [__Button|Get Started__](docs/toc.html)
16
15
  >
17
16
  > <!-- -->
18
17
  > > Basic Attached Segment:
19
18
  > > > Stackable Equal Width Grid:
20
19
  > > > > Column:
20
+ > > > > ## About::about
21
+ > > > > Markdown-UI is a development framework that utilizes the [Semantic-UI](http://www.semantic-ui.com) web framework, to create beautiful, human-friendly HTML and responsive layouts using Markdown Syntax.
22
+ > > > >
23
+ > > > > Markdown-UI is not affiliated with Semantic-UI in any matter.
24
+ > > > >
21
25
  > > > > ## Installation::install
22
26
  > > > > Markdown-UI is readily available as a Ruby gem. The minimum required Ruby version is 2.0. <br /> <br />
23
27
  > > > > ```gem install markdown-ui```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Bryan Juliano
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2016-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -166,6 +166,7 @@ files:
166
166
  - components/collections/markdown-ui-menu/lib/markdown-ui-menu.rb
167
167
  - components/collections/markdown-ui-menu/lib/menu/custom.rb
168
168
  - components/collections/markdown-ui-menu/lib/menu/element.rb
169
+ - components/collections/markdown-ui-menu/lib/menu/item.rb
169
170
  - components/collections/markdown-ui-menu/lib/menu/pagination.rb
170
171
  - components/collections/markdown-ui-menu/lib/menu/pointing.rb
171
172
  - components/collections/markdown-ui-menu/lib/menu/secondary.rb
@@ -178,8 +179,9 @@ files:
178
179
  - components/collections/markdown-ui-message/Gemfile
179
180
  - components/collections/markdown-ui-message/lib/markdown-ui-message.rb
180
181
  - components/collections/markdown-ui-message/lib/message/custom_message.rb
182
+ - components/collections/markdown-ui-message/lib/message/element.rb
183
+ - components/collections/markdown-ui-message/lib/message/icon_message.rb
181
184
  - components/collections/markdown-ui-message/lib/message/list_message.rb
182
- - components/collections/markdown-ui-message/lib/message/message.rb
183
185
  - components/collections/markdown-ui-message/lib/message/standard_message.rb
184
186
  - components/collections/markdown-ui-message/lib/message/version.rb
185
187
  - components/collections/markdown-ui-message/markdown-ui-message.gemspec
@@ -196,6 +198,7 @@ files:
196
198
  - components/elements/markdown-ui-button/lib/button/icon.rb
197
199
  - components/elements/markdown-ui-button/lib/button/labeled_icon.rb
198
200
  - components/elements/markdown-ui-button/lib/button/standard.rb
201
+ - components/elements/markdown-ui-button/lib/button/toggle.rb
199
202
  - components/elements/markdown-ui-button/lib/button/version.rb
200
203
  - components/elements/markdown-ui-button/lib/markdown-ui-button.rb
201
204
  - components/elements/markdown-ui-button/markdown-ui-button.gemspec
@@ -270,6 +273,7 @@ files:
270
273
  - lib/markdown-ui.rb
271
274
  - lib/markdown-ui/collection.rb
272
275
  - lib/markdown-ui/element.rb
276
+ - lib/markdown-ui/parser.rb
273
277
  - lib/markdown-ui/renderers/block_quote.rb
274
278
  - lib/markdown-ui/renderers/double_emphasis.rb
275
279
  - lib/markdown-ui/renderers/emphasis.rb
@@ -283,6 +287,7 @@ files:
283
287
  - lib/markdown-ui/tag/article_tag.rb
284
288
  - lib/markdown-ui/tag/button_tag.rb
285
289
  - lib/markdown-ui/tag/custom_tag.rb
290
+ - lib/markdown-ui/tag/field_tag.rb
286
291
  - lib/markdown-ui/tag/focusable_button_tag.rb
287
292
  - lib/markdown-ui/tag/footer_tag.rb
288
293
  - lib/markdown-ui/tag/header_tag.rb
@@ -290,6 +295,8 @@ files:
290
295
  - lib/markdown-ui/tag/item_tag.rb
291
296
  - lib/markdown-ui/tag/label_tag.rb
292
297
  - lib/markdown-ui/tag/list_tag.rb
298
+ - lib/markdown-ui/tag/nav_tag.rb
299
+ - lib/markdown-ui/tag/script_tag.rb
293
300
  - lib/markdown-ui/tag/section_tag.rb
294
301
  - lib/markdown-ui/tag/span_tag.rb
295
302
  - lib/markdown-ui/tag/standard_tag.rb