浏览代码

Ajusts for public attributes

Lucas Romano 8 年之前
父节点
当前提交
6d1ec33196
共有 2 个文件被更改,包括 12 次插入11 次删除
  1. 1 0
      README.md
  2. 11 11
      SwiftyMarkdown/SwiftyMarkdown.swift

+ 1 - 0
README.md

@@ -44,6 +44,7 @@ md.body.fontName = "AvenirNextCondensed-Medium"
 
 
 md.h1.color = UIColor.redColor()
 md.h1.color = UIColor.redColor()
 md.h1.fontName = "AvenirNextCondensed-Bold"
 md.h1.fontName = "AvenirNextCondensed-Bold"
+md.h1.fontSize = 16
 ```
 ```
 	md.italic.color = UIColor.blueColor()
 	md.italic.color = UIColor.blueColor()
 
 

+ 11 - 11
SwiftyMarkdown/SwiftyMarkdown.swift

@@ -57,37 +57,37 @@ enum LineStyle : Int {
 @objc open class SwiftyMarkdown: NSObject {
 @objc open class SwiftyMarkdown: NSObject {
 	
 	
 	/// The styles to apply to any H1 headers found in the Markdown
 	/// The styles to apply to any H1 headers found in the Markdown
-	open var h1 = BasicStyles()
+	public var h1 = BasicStyles()
 
 
 	/// The styles to apply to any H2 headers found in the Markdown
 	/// The styles to apply to any H2 headers found in the Markdown
-	open var h2 = BasicStyles()
+	public var h2 = BasicStyles()
 	
 	
 	/// The styles to apply to any H3 headers found in the Markdown
 	/// The styles to apply to any H3 headers found in the Markdown
-	open var h3 = BasicStyles()
+	public var h3 = BasicStyles()
 	
 	
 	/// The styles to apply to any H4 headers found in the Markdown
 	/// The styles to apply to any H4 headers found in the Markdown
-	open var h4 = BasicStyles()
+	public var h4 = BasicStyles()
 	
 	
 	/// The styles to apply to any H5 headers found in the Markdown
 	/// The styles to apply to any H5 headers found in the Markdown
-	open var h5 = BasicStyles()
+	public var h5 = BasicStyles()
 	
 	
 	/// The styles to apply to any H6 headers found in the Markdown
 	/// The styles to apply to any H6 headers found in the Markdown
-	open var h6 = BasicStyles()
+	public var h6 = BasicStyles()
 	
 	
 	/// The default body styles. These are the base styles and will be used for e.g. headers if no other styles override them.
 	/// The default body styles. These are the base styles and will be used for e.g. headers if no other styles override them.
-	open var body = BasicStyles()
+	public var body = BasicStyles()
 	
 	
 	/// The styles to apply to any links found in the Markdown
 	/// The styles to apply to any links found in the Markdown
-	open var link = BasicStyles()
+	public var link = BasicStyles()
 
 
 	/// The styles to apply to any bold text found in the Markdown
 	/// The styles to apply to any bold text found in the Markdown
-	open var bold = BasicStyles()
+	public var bold = BasicStyles()
 	
 	
 	/// The styles to apply to any italic text found in the Markdown
 	/// The styles to apply to any italic text found in the Markdown
-	open var italic = BasicStyles()
+	public var italic = BasicStyles()
 	
 	
 	/// The styles to apply to any code blocks or inline code text found in the Markdown
 	/// The styles to apply to any code blocks or inline code text found in the Markdown
-	open var code = BasicStyles()
+	public var code = BasicStyles()
 
 
 	
 	
 	var currentType : LineType = .body
 	var currentType : LineType = .body