Skip to content

Commit f45d4f4

Browse files
committed
docs: fixed README
1 parent b49a843 commit f45d4f4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ let document = PDFDocument(format: .a4)
4949

5050
3. Configure the document and add content using the TPPDF API:
5151

52-
````swift
52+
```swift
5353
document.add(text: "Hello, TPPDFAsync!")
5454
document.add(image: UIImage(named: "exampleImage"))
5555
// Customize layout, styling, headers, footers, etc.
56-
``
56+
```
5757

5858
4. Create a `PDFAsyncGenerator` and use the `generateAsyncTask()` method to generate the PDF asynchronously:
5959

@@ -76,10 +76,7 @@ generator.generateURLAsyncTask(filename: "document.pdf")
7676
.store(in: &cancellables)
7777
```
7878

79-
5. Don't forget to keep a reference to the `AnyCancellable` object returned by `sink()` to cancel the PDF generation if needed.
80-
8179
For more detailed usage instructions, refer to the [TPPDF documentation](https://github.com/techprimate/TPPDF).
82-
````
8380

8481
## License
8582

0 commit comments

Comments
 (0)