markdown-ui 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +61 -6
  3. data/Changelog +27 -2
  4. data/Gemfile +15 -2
  5. data/components/collections/markdown-ui-grid/Gemfile +2 -0
  6. data/{lib/markdown-ui → components/collections/markdown-ui-grid/lib}/grid/column/column.rb +0 -0
  7. data/{lib/markdown-ui → components/collections/markdown-ui-grid/lib}/grid/grid.rb +0 -0
  8. data/{lib/markdown-ui → components/collections/markdown-ui-grid/lib}/grid/row/row.rb +0 -0
  9. data/components/collections/markdown-ui-grid/lib/grid/version.rb +5 -0
  10. data/components/collections/markdown-ui-grid/lib/markdown-ui-grid.rb +3 -0
  11. data/components/collections/markdown-ui-grid/markdown-ui-grid.gemspec +37 -0
  12. data/components/collections/markdown-ui-menu/Gemfile +2 -0
  13. data/components/collections/markdown-ui-menu/lib/markdown-ui-menu.rb +3 -0
  14. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/custom.rb +0 -0
  15. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/element.rb +0 -0
  16. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/pagination.rb +0 -0
  17. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/pointing.rb +0 -0
  18. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/secondary.rb +0 -0
  19. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/standard.rb +0 -0
  20. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/tabular.rb +0 -0
  21. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/text.rb +0 -0
  22. data/components/collections/markdown-ui-menu/lib/menu/version.rb +5 -0
  23. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/vertical.rb +0 -0
  24. data/components/collections/markdown-ui-menu/markdown-ui-menu.gemspec +37 -0
  25. data/components/collections/markdown-ui-message/Gemfile +2 -0
  26. data/components/collections/markdown-ui-message/lib/markdown-ui-message.rb +3 -0
  27. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/custom_message.rb +0 -0
  28. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/list_message.rb +0 -0
  29. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/message.rb +0 -0
  30. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/standard_message.rb +0 -0
  31. data/components/collections/markdown-ui-message/lib/message/version.rb +5 -0
  32. data/components/collections/markdown-ui-message/markdown-ui-message.gemspec +37 -0
  33. data/components/elements/markdown-ui-button/Gemfile +2 -0
  34. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/animated.rb +0 -0
  35. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/basic.rb +0 -0
  36. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/custom.rb +0 -0
  37. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/element.rb +0 -0
  38. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/focusable.rb +0 -0
  39. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/custom.rb +0 -0
  40. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/element.rb +0 -0
  41. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/icon.rb +0 -0
  42. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/standard.rb +0 -0
  43. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/icon.rb +0 -0
  44. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/labeled_icon.rb +0 -0
  45. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/standard.rb +0 -0
  46. data/components/elements/markdown-ui-button/lib/button/version.rb +5 -0
  47. data/components/elements/markdown-ui-button/lib/markdown-ui-button.rb +3 -0
  48. data/components/elements/markdown-ui-button/markdown-ui-button.gemspec +37 -0
  49. data/components/elements/markdown-ui-container/Gemfile +2 -0
  50. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/alignment/center.rb +0 -0
  51. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/alignment/left.rb +0 -0
  52. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/alignment/right.rb +0 -0
  53. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/custom.rb +0 -0
  54. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/element.rb +0 -0
  55. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/standard.rb +0 -0
  56. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/text.rb +0 -0
  57. data/components/elements/markdown-ui-container/lib/container/version.rb +5 -0
  58. data/components/elements/markdown-ui-container/lib/markdown-ui-container.rb +3 -0
  59. data/components/elements/markdown-ui-container/markdown-ui-container.gemspec +37 -0
  60. data/components/elements/markdown-ui-content/Gemfile +2 -0
  61. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/custom.rb +0 -0
  62. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/header.rb +0 -0
  63. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/icon.rb +0 -0
  64. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/item.rb +0 -0
  65. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/list.rb +0 -0
  66. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/parser.rb +0 -0
  67. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/text.rb +0 -0
  68. data/components/elements/markdown-ui-content/lib/content/version.rb +5 -0
  69. data/components/elements/markdown-ui-content/lib/markdown-ui-content.rb +3 -0
  70. data/components/elements/markdown-ui-content/markdown-ui-content.gemspec +37 -0
  71. data/components/elements/markdown-ui-header/Gemfile +2 -0
  72. data/{lib/markdown-ui → components/elements/markdown-ui-header/lib}/header/header.rb +0 -0
  73. data/components/elements/markdown-ui-header/lib/header/version.rb +5 -0
  74. data/components/elements/markdown-ui-header/lib/markdown-ui-header.rb +3 -0
  75. data/components/elements/markdown-ui-header/markdown-ui-header.gemspec +37 -0
  76. data/components/elements/markdown-ui-label/Gemfile +2 -0
  77. data/{lib/markdown-ui → components/elements/markdown-ui-label/lib}/label/custom.rb +0 -0
  78. data/{lib/markdown-ui → components/elements/markdown-ui-label/lib}/label/element.rb +0 -0
  79. data/components/elements/markdown-ui-label/lib/label/version.rb +5 -0
  80. data/components/elements/markdown-ui-label/lib/markdown-ui-label.rb +3 -0
  81. data/components/elements/markdown-ui-label/markdown-ui-label.gemspec +37 -0
  82. data/components/elements/markdown-ui-segment/Gemfile +2 -0
  83. data/components/elements/markdown-ui-segment/lib/markdown-ui-segment.rb +3 -0
  84. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/custom_segment.rb +0 -0
  85. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/horizontal_segment.rb +0 -0
  86. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/padded_segment.rb +0 -0
  87. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/piled_segment.rb +0 -0
  88. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/segment.rb +0 -0
  89. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/stacked_segment.rb +0 -0
  90. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/standard_segment.rb +0 -0
  91. data/components/elements/markdown-ui-segment/lib/segment/version.rb +5 -0
  92. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/vertical_segment.rb +0 -0
  93. data/components/elements/markdown-ui-segment/markdown-ui-segment.gemspec +37 -0
  94. data/lib/markdown-ui.rb +5 -0
  95. data/lib/markdown-ui/collection.rb +7 -0
  96. data/lib/markdown-ui/element.rb +7 -0
  97. data/lib/markdown-ui/tag/item_tag.rb +2 -2
  98. data/lib/markdown-ui/version.rb +1 -1
  99. data/website/index.html +24 -8
  100. data/website/index.md +23 -8
  101. metadata +93 -55
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module Container
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ ['container/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'container/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-container"
8
+ spec.version = MarkdownUI::Container::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
31
+ spec.add_dependency "redcarpet", "~> 3.2"
32
+ spec.add_dependency "nokogiri", "~> 1.6"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "test-unit", "~> 3.0"
35
+ spec.add_development_dependency "simplecov", "~> 0.10"
36
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
37
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module Content
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ ['content/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'content/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-content"
8
+ spec.version = MarkdownUI::Content::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
31
+ spec.add_dependency "redcarpet", "~> 3.2"
32
+ spec.add_dependency "nokogiri", "~> 1.6"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "test-unit", "~> 3.0"
35
+ spec.add_development_dependency "simplecov", "~> 0.10"
36
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
37
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module HeaderElement
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ ['content/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'header/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-header"
8
+ spec.version = MarkdownUI::HeaderElement::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
31
+ spec.add_dependency "redcarpet", "~> 3.2"
32
+ spec.add_dependency "nokogiri", "~> 1.6"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "test-unit", "~> 3.0"
35
+ spec.add_development_dependency "simplecov", "~> 0.10"
36
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
37
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module Label
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ ['label/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'label/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-label"
8
+ spec.version = MarkdownUI::Label::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
31
+ spec.add_dependency "redcarpet", "~> 3.2"
32
+ spec.add_dependency "nokogiri", "~> 1.6"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "test-unit", "~> 3.0"
35
+ spec.add_development_dependency "simplecov", "~> 0.10"
36
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
37
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,3 @@
1
+ ['segment/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module SegmentElement
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'segment/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-segment"
8
+ spec.version = MarkdownUI::SegmentElement::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
31
+ spec.add_dependency "redcarpet", "~> 3.2"
32
+ spec.add_dependency "nokogiri", "~> 1.6"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "test-unit", "~> 3.0"
35
+ spec.add_development_dependency "simplecov", "~> 0.10"
36
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
37
+ end
data/lib/markdown-ui.rb CHANGED
@@ -5,6 +5,9 @@ require 'redcarpet'
5
5
  require 'nokogiri'
6
6
  require 'ostruct'
7
7
 
8
+ require 'markdown-ui/element'
9
+ require 'markdown-ui/collection'
10
+
8
11
  ['markdown-ui/**/*.rb'].each do |dir|
9
12
  Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
10
13
  end
@@ -12,6 +15,8 @@ end
12
15
  module MarkdownUI
13
16
  class Renderer < Redcarpet::Render::HTML
14
17
  include Redcarpet::Render::SmartyPants
18
+ include MarkdownUI::Element
19
+ include MarkdownUI::Collection
15
20
 
16
21
  def paragraph(text)
17
22
  text
@@ -0,0 +1,7 @@
1
+ module MarkdownUI
2
+ module Collection
3
+ ['../../components/collections/**/*.rb'].each do |dir|
4
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ module MarkdownUI
2
+ module Element
3
+ ['../../components/elements/**/*.rb'].each do |dir|
4
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
5
+ end
6
+ end
7
+ end
@@ -8,8 +8,8 @@ module MarkdownUI
8
8
 
9
9
  def render
10
10
  content, @data = @content.split(';')
11
- klass = MarkdownUI::KlassUtil.new(@klass).klass
12
- link = " href=\"#{@link.strip}\""
11
+ klass = MarkdownUI::KlassUtil.new(@klass).klass if @klass
12
+ link = " href=\"#{@link.strip}\"" if @link
13
13
 
14
14
  data = if @data
15
15
  _data, attribute, value = @data.split(':')
@@ -1,3 +1,3 @@
1
1
  module MarkdownUI
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.6'
3
3
  end
data/website/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <head>
7
7
  <meta charset="utf-8">
8
8
  <meta http-equiv="x-ua-compatible" content="ie=edge">
9
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
10
10
 
11
11
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.0.1/semantic.min.css">
12
12
  <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
@@ -48,7 +48,7 @@
48
48
  Markdown-UI uses <a class="ui item" href="http://www.semantic-ui.com">Semantic-UI http://www.semantic-ui.com</a>
49
49
  syntax and framework, and ruby <code>redcarpet</code> library.
50
50
  Credit goes to the people behind these wonderful framework and libraries.<h2 class="ui header">Issues/Bugs</h2>
51
- <ul class="ui list"><li>Ongoing support for 80% of Semantic-UI elements/modules/components</li><li>The Colon (:) character will be parsed when used inside a text, needs post-processing to dislay correctly (for URLs)</li><li>Code is not DRY, needs refactoring / rewriting</li><li>Implimentation is subject to change</li></ul></div>
51
+ <ul class="ui list"><li>Ongoing support for Semantic-UI elements/modules/components</li><li>The Colon (:) character will be parsed when used inside a text, needs post-processing to dislay correctly (for URLs)</li><li>Code is not DRY, needs refactoring.</li><li>Implimentation is subject to change</li><li>A separator in between two spaces is required on block elements to separate elements (see Column example)</li></ul></div>
52
52
  <!-- -->
53
53
  <div class="ui column">
54
54
  <div class="ui inverted very padded segment">
@@ -109,6 +109,22 @@ Credit goes to the people behind these wonderful framework and libraries.<h2 cla
109
109
  <code>&gt; [Menu Item]</code>
110
110
  <br />
111
111
  </div>
112
+ <!-- -->
113
+ <h5 class="ui header">List</h5>
114
+ <div class="ui info message">
115
+ <code>* List 1</code>
116
+ <br />
117
+ <code>* List 2</code>
118
+ <br />
119
+ </div>
120
+ <!-- -->
121
+ <h5 class="ui header">Label</h5>
122
+ <div class="ui info message">
123
+ <code>&gt; Label:</code>
124
+ <br />
125
+ <code>&gt; _Mail Icon_ 23</code>
126
+ <br />
127
+ </div>
112
128
  <!-- -->
113
129
  </div>
114
130
  </div>
@@ -631,7 +647,7 @@ __Basic Teal Button|Teal__
631
647
  <!-- -->
632
648
  <div class="ui center aligned six wide column">
633
649
  <h5 class="ui header">Preview</h5>
634
- <div class="ui icon buttons">
650
+ <div class="ui buttons">
635
651
  <div class="ui button">Cancel</div>
636
652
  <div class="or"></div>
637
653
  <div class="ui positive button">Save</div>
@@ -641,7 +657,7 @@ __Basic Teal Button|Teal__
641
657
  <div class="ui left aligned ten wide column">
642
658
  <h5 class="ui header">Markdown Syntax</h5>
643
659
  <div class="ui inverted very padded segment">
644
- <code>&gt; Icon Buttons:</code>
660
+ <code>&gt; Buttons:</code>
645
661
  <br />
646
662
  <code>&gt; __Button|Cancel__</code>
647
663
  <br />
@@ -653,9 +669,9 @@ __Basic Teal Button|Teal__
653
669
  <!-- -->
654
670
  <div class="ui center aligned six wide column">
655
671
  <h5 class="ui header">Preview</h5>
656
- <div class="ui icon buttons">
672
+ <div class="ui buttons">
657
673
  <div class="ui button">un</div>
658
- <div class="or" data-ou=""></div>
674
+ <div class="or" data-text="ou"></div>
659
675
  <div id="positive-id" class="ui positive button">deux</div>
660
676
  </div>
661
677
  </div>
@@ -663,11 +679,11 @@ __Basic Teal Button|Teal__
663
679
  <div class="ui left aligned ten wide column">
664
680
  <h5 class="ui header">Markdown Syntax</h5>
665
681
  <div class="ui inverted very padded segment">
666
- <code>&gt; Icon Buttons:</code>
682
+ <code>&gt; Buttons:</code>
667
683
  <br />
668
684
  <code>&gt; __Button|un__</code>
669
685
  <br />
670
- <code>&gt; __Div Tag|Or|Data:ou__</code>
686
+ <code>&gt; __Div Tag|Or|Data:Text:ou__</code>
671
687
  <br />
672
688
  <code>&gt; __Positive Button|deux|Positive-ID__</code>
673
689
  </div>