Skip to content

Commit

Permalink
Merge pull request #44 from nodediggity/patch-1
Browse files Browse the repository at this point in the history
Update Customization syntax in docs
  • Loading branch information
bmoliveira authored Jan 26, 2020
2 parents b401cf8 + 8bce32b commit 98d3940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ label.attributedText = markdownParser.parse(markdown)
## Customization

```swift
let markdownParser = MarkdownParser(font: UIFont.systemFontOfSize(18))
let markdownParser = MarkdownParser(font: UIFont.systemFont(ofSize: 18))
markdownParser.enabledElements = .disabledAutomaticLink
markdownParser.bold.color = UIColor.redColor()
markdownParser.italic.font = UIFont.italicSystemFontOfSize(300)
markdownParser.bold.color = UIColor.red
markdownParser.italic.font = UIFont.italicSystemFont(ofSize: 300)
markdownParser.header.fontIncrease = 4
```

Expand Down

0 comments on commit 98d3940

Please sign in to comment.