Pod::Spec.new do |s|

  s.name          = 'CocoaMarkdown'
  s.version       = '1.0'
  s.summary       = 'Markdown parsing and rendering for iOS and OS X'
  s.description   = "CocoaMarkdown aims to solve two primary problems better than existing libraries:
More flexibility. CocoaMarkdown allows you to define custom parsing hooks or even traverse the Markdown AST using the low-level API.
Efficient NSAttributedString creation for easy rendering on iOS and OS X. Most existing libraries just generate HTML from the Markdown, which is not a convenient representation to work with in native apps."

  s.homepage      = 'https://github.com/mohuilin/CocoaMarkdown'
  s.license       = 'MIT'

  s.author        = "mohuilin"
  s.ios.deployment_target = '8.0'
  s.osx.deployment_target = '10.10'

  s.source        = { :git => 'https://github.com/mohuilin/CocoaMarkdown.git' }
  s.source_files  = 'CocoaMarkdown'
  s.private_header_files = 'CocoaMarkdown/*_Private.h'
  s.ios.framework = 'UIKit'
  s.osx.framework = 'Cocoa'
  s.requires_arc  = true

  s.dependency 'cmark', '~> 0.21.0'
  s.dependency 'Ono', '~> 1.1.3'
  s.dependency 'YYKit', '=1.0.9'
end
