Skip to content

Commit b00eaf4

Browse files
Merge pull request #35 from htmlcsstoimage/jumbo
Jumbo Docs & Cleanup
2 parents 9d6c76c + 26c8a3d commit b00eaf4

26 files changed

Lines changed: 272 additions & 24 deletions

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ aux_links:
9292
"Get an API Key":
9393
- "https://htmlcsstoimage.com"
9494
"Demo":
95-
- "https://htmlcsstoimage.com/demo"
95+
- "https://htmlcsstoimage.com/#demo"
9696

9797
# Exclude from processing.
9898
# The following items will not be processed, by default.

_includes/additional_parameters.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
| **block_consent_banners** | `Boolean` | When set to `true`, automatically blocks cookie consent banners and popups on websites. Most useful for URL screenshots. [Learn more](/guides/advanced/blocking-cookie-banners/). |
1111
| **viewport_width** | `Integer` | Set the width of Chrome's viewport. This will disable automatic cropping. Both height and width parameters must be set if using either. [Learn more](/getting-started/setting-height-and-width/). |
1212
| **viewport_height** | `Integer` | Set the height of Chrome's viewport. This will disable automatic cropping. Both height and width parameters must be set if using either. [Learn more](/getting-started/setting-height-and-width/). |
13+
| **viewport_mobile** | `Boolean` | Set Chrome's viewport to emulate a mobile device. |
14+
| **viewport_landscape**| `Boolean` | Set Chrome's viewport to landscape mode. |
15+
| **viewport_touch** | `Boolean` | Set Chrome's viewport to support touch events. |
1316
| **color_scheme** | `String` | Set Chrome to render in `light` or `dark` mode. Affects websites using `prefers-color-scheme`. [Learn more](/parameters/color_scheme/). |
1417
| **timezone** | `String` | Render your image with Chrome set to a specified timezone. Use IANA timezone identifiers like `America/New_York`. [Learn more](/parameters/timezone/). |
1518
| **disable_twemoji** | `Boolean` | Twemoji is used by default to render emoji consistently. Set to `true` to use native emoji fonts instead. |
1619
| **proxy_id** | `String` | Route the render's outbound traffic through one of your [HTTP proxies](/guides/advanced/proxies/) configured in the dashboard. Available on the 10k images/month plan or higher. |
20+
| **jumbo_max_width** | `Integer` | Maximum output width when rendering a [jumbo image](/guides/advanced/jumbo-images/) (up to 80,000px). Must be set together with `jumbo_max_height`. Consumes extra renders. |
21+
| **jumbo_max_height** | `Integer` | Maximum output height when rendering a [jumbo image](/guides/advanced/jumbo-images/) (up to 80,000px). Must be set together with `jumbo_max_width`. Consumes extra renders. |

_includes/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Generate a png, jpg or webp images with {{ include.language }}. Renders exactly like Google Chrome.
66
{: .fs-6 .fw-300 }
77

8-
[Live demo](https://htmlcsstoimage.com/demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
8+
[Live demo](https://htmlcsstoimage.com/#demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
99
[Get an API Key](https://htmlcsstoimage.com){: .btn .fs-5 .mb-4 .mb-md-0 target="_blank" }
1010
<hr>
1111

_sass/custom/custom.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ img {
314314

315315
@media (min-width: 1200px) {
316316
.main {
317-
max-width: none !important;
317+
max-width: 1200px !important;
318318
}
319319

320320
.main-content-wrap {
@@ -335,7 +335,7 @@ img {
335335
.content-with-toc > .main-content {
336336
flex: 1;
337337
min-width: 0;
338-
max-width: 750px;
338+
339339

340340
@media (max-width: 800px) {
341341
max-width: 100%;

_sass/layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
}
2121

2222
.main {
23+
flex-grow: 1;
2324
@include mq(md) {
2425
position: relative;
2526
max-width: $content-width;

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ August 16, 2020
366366
We've rebuilt the live demo. Now you can preview your HTML/CSS as you edit it. Then click the *image* button to see it converted into an image.
367367
This makes it much easier to prototype your images inside a browser.
368368

369-
- [HTML/CSS to Image Demo](https://htmlcsstoimage.com/demo)
369+
- [HTML/CSS to Image Demo](https://htmlcsstoimage.com/#demo)
370370

371371
<hr>
372372
### Ruby Client released

example-code/c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: >-
1414
Generate png, jpg or webp images with C# and .NET. Renders exactly like Google Chrome.
1515
{: .fs-6 .fw-300 }
1616

17-
[Live demo](https://htmlcsstoimage.com/demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
17+
[Live demo](https://htmlcsstoimage.com/#demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
1818
[Get an API Key](https://htmlcsstoimage.com){: .btn .fs-5 .mb-4 .mb-md-0 target="_blank" }
1919
<hr>
2020

example-code/curl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: >-
1414
Generate a png, jpg or webp images from your terminal with cURL.
1515
{: .fs-4 .fw-300 }
1616

17-
[Live demo](https://htmlcsstoimage.com/demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
17+
[Live demo](https://htmlcsstoimage.com/#demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
1818
[Get an API Key](https://htmlcsstoimage.com){: .btn .fs-5 .mb-4 .mb-md-0 target="_blank" }
1919
<hr>
2020

example-code/google-apps-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: >-
1414
Generate a png, jpg or webp images with Google Apps Script.
1515
{: .fs-4 .fw-300 }
1616

17-
[Live demo](https://htmlcsstoimage.com/demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
17+
[Live demo](https://htmlcsstoimage.com/#demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 target="_blank" }
1818
[Get an API Key](https://htmlcsstoimage.com){: .btn .fs-5 .mb-4 .mb-md-0 target="_blank" }
1919
<hr>
2020

example-code/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: >-
1414
To get started quickly, take a look at our example code for generating images.
1515
{: .fs-4 .fw-300 }
1616

17-
[Live demo](https://htmlcsstoimage.com/demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 }
17+
[Live demo](https://htmlcsstoimage.com/#demo){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 }
1818
[Get an API Key](https://htmlcsstoimage.com){: .btn .fs-5 .mb-4 .mb-md-0 }
1919

2020
{% include hint.md title="Using an AI coding assistant?" text="Skip writing code entirely. Connect our [MCP Server](/integrations/mcp/) to generate images directly from Cursor or Claude Code." %}

0 commit comments

Comments
 (0)