Skip to content

Commit 49ba56b

Browse files
committed
Updated documentation
1 parent 5b0f3fd commit 49ba56b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let style = Style {
3434
let attributedText = "Hello World!".set(style: style) // et voilà!
3535
```
3636

37-
### 3. Complex XML/HTML based rendering
37+
### XML/HTML tag based rendering
3838
SwiftRichString allows you to render complex strings by parsing text's tags: each style will be identified by an unique name (used inside the tag) and you can create a `StyleGroup` which allows you to encapsulate all of them and reuse as you need (clearly you can register it globally).
3939

4040
```swift
@@ -61,7 +61,7 @@ self.label?.attributedText = str.set(style: myGroup)
6161

6262
That's the result!
6363

64-
<img src="Documentation_Assests/image_2.png" alt="" style="width: 150px;"/>
64+
<img src="Documentation_Assests/image_2.png" alt="" style="width: 70px;"/>
6565

6666
--
6767

0 commit comments

Comments
 (0)