Skip to content

Commit ac36a40

Browse files
authored
Update README.md
1 parent 3db4525 commit ac36a40

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
.NET C# Client for interacting with the [Gotenberg](https://gotenberg.dev/) v7 micro-service's API. [Gotenberg](https://github.com/gotenberg/gotenberg) is a [Docker-powered stateless API](https://hub.docker.com/r/gotenberg/gotenberg/) for converting & merging HTML, Markdown and Office documents to PDF. The client supports a configurable [Polly](http://www.thepollyproject.org/) **retry policy** with exponential backoff for handling transient exceptions.
1010

11-
1211
# Getting Started
1312
*Pull the image from dockerhub.com*
1413
```powershell
@@ -53,10 +52,10 @@ public void ConfigureServices(IServiceCollection services)
5352
}
5453

5554
```
56-
# Using GotenbergSharpClient.
55+
# Using GotenbergSharpClient
5756
*See the [linqPad folder](linqpad/)* for complete examples.
5857

59-
## Html To Pdf
58+
### Html To Pdf
6059
*With embedded assets:*
6160

6261
```csharp
@@ -81,7 +80,7 @@ public void ConfigureServices(IServiceCollection services)
8180
}
8281
```
8382

84-
## Url To Pdf
83+
### Url To Pdf
8584
*Url to Pdf with custom page range, header & footer:*
8685

8786
```csharp
@@ -121,7 +120,7 @@ public async Task<Stream> DoOfficeMerge(string sourceDirectory)
121120
return await _sharpClient.MergeOfficeDocsAsync(request);
122121
}
123122
```
124-
## Markdown to Pdf
123+
### Markdown to Pdf
125124
*Markdown to Pdf conversion with embedded assets:*
126125

127126
```csharp
@@ -144,7 +143,7 @@ public async Task<Stream> CreateFromMarkdown()
144143
return await _sharpClient.HtmlToPdfAsync(request);
145144
}
146145
```
147-
## Webhook
146+
### Webhook
148147
*All request types support webhooks*
149148

150149
```csharp
@@ -179,7 +178,7 @@ public async Task<Stream> CreateFromMarkdown()
179178
}
180179

181180
```
182-
## Merge 15 Urls to one pdf
181+
### Merge 15 Urls to one pdf
183182
*Builds a 30 page pdf by merging the front two pages of 15 news sites. Takes about a minute to complete*
184183

185184
```csharp

0 commit comments

Comments
 (0)