Skip to content

Commit 906f5f9

Browse files
committed
Updates.
1 parent 65ccf23 commit 906f5f9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,9 @@ Along with supporting the built-in SwiftUI modifies, `LaTeXSwiftUI` defines more
7272
| `\begin{equation}...\end{equation}` |
7373
| `\begin{equation*}...\end{equation*}` |
7474

75-
Text input can either be completely rendered, or `LaTeXSwiftUI` can search for top-level equations. The default behavior is to only render equations. Use the `parsingMode` modifier to change the default behavior.
75+
Text input can either be completely rendered, or `LaTeXSwiftUI` can search for top-level equations. The default behavior is to only render equations with `onlyEquations`. Use the `parsingMode` modifier to change the default behavior.
7676

7777
```swift
78-
// Only parse the equation
79-
LaTeX("Hello, $\\LaTeX$!")
80-
.parsingMode(.onlyEquations)
81-
8278
// Parse the entire input
8379
LaTeX("e^{i\\pi}+1=0")
8480
.parsingMode(.all)

0 commit comments

Comments
 (0)