Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Medwe authored Aug 22, 2022
1 parent 7688559 commit e004bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ The `RichTextNode` struct defines the structure of a RichText Object as received
The `RichTextSchema` protocol defines a function used to transform a given `RichTextNode` to any other usable format.

##### HtmlSchema
The `HtmlSchema` class is an implementation of the `RichTextSchema`protocol that transforms a given `RichTextNode`to a HTML String.
The `HtmlSchema` class is an implementation of the `RichTextSchema` protocol that transforms a given `RichTextNode` to an HTML String.

#### RichTextResolver
The `RichTextResolver` class implements the following function, which can be used to transform a fiven `RichTextNode`to some other format using any RichTextSchema Implementation.
The `RichTextResolver` class implements the following function, which can be used to transform a given `RichTextNode` to some other format using any RichTextSchema Implementation.

```swift
public static func resolveNode<Schema: RichTextSchema>(_ node: RichTextNode, applyingSchema schema: Schema.Type, into initialValue: inout Schema.T)
Expand Down

0 comments on commit e004bb7

Please sign in to comment.