diff --git a/docs/components/compile/compile.mdx b/docs/components/compile/compile.mdx
index 6414cb2..e1785de 100644
--- a/docs/components/compile/compile.mdx
+++ b/docs/components/compile/compile.mdx
@@ -19,7 +19,7 @@ A simple function to compile a React component to an HTML string with the Onedoc
const html = await compile();
```
-
+
@@ -60,7 +60,7 @@ Pass `{ emotion: true }` as the second compile option to merge and extract criti
const html = await compile(, { emotion: true });
```
-
+
diff --git a/docs/components/css/css.mdx b/docs/components/css/css.mdx
index e9a1292..3f7fb3d 100644
--- a/docs/components/css/css.mdx
+++ b/docs/components/css/css.mdx
@@ -16,7 +16,7 @@ Support
Use a simple CSS tag to support CSS in your document.
-
+
diff --git a/docs/components/css/font.mdx b/docs/components/css/font.mdx
index b0bae2b..a71e884 100644
--- a/docs/components/css/font.mdx
+++ b/docs/components/css/font.mdx
@@ -16,7 +16,7 @@ Support
Load a Google Font its URL. This will allow you to use the font in your document.
-
+
diff --git a/docs/components/css/margins.mdx b/docs/components/css/margins.mdx
index a148e31..60076a0 100644
--- a/docs/components/css/margins.mdx
+++ b/docs/components/css/margins.mdx
@@ -16,7 +16,7 @@ Support
Set the page ratio and margin sizes in px. You can also use the `@page` at-rule in CSS to manage all aspects of printed pages. More on this [here](https://developer.mozilla.org/en-US/docs/Web/CSS/@page).
-
+
diff --git a/docs/components/footnote/footnote.mdx b/docs/components/footnote/footnote.mdx
index e4527fd..54ac626 100644
--- a/docs/components/footnote/footnote.mdx
+++ b/docs/components/footnote/footnote.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/latex/latex.mdx b/docs/components/latex/latex.mdx
index 002fcd8..aee5bef 100644
--- a/docs/components/latex/latex.mdx
+++ b/docs/components/latex/latex.mdx
@@ -16,7 +16,7 @@ Support
Use a simple Latex tag to support Latex in your document.
-
+
@@ -51,7 +51,7 @@ body {
Write complex LaTeX formulas in your document.
-
+
diff --git a/docs/components/markdown/markdown.mdx b/docs/components/markdown/markdown.mdx
index fba4d57..929aa9d 100644
--- a/docs/components/markdown/markdown.mdx
+++ b/docs/components/markdown/markdown.mdx
@@ -16,7 +16,7 @@ Support
Use a simple Markdown tag to support Markdown in your document.
-
+
@@ -57,7 +57,7 @@ body {
You can leverage the `overrides` prop to replace Markdown components with your own components. This is useful for custom components or even for dynamic content.
-
+
diff --git a/docs/components/shell/currentpagetop.mdx b/docs/components/shell/currentpagetop.mdx
index ad500d0..00386a1 100644
--- a/docs/components/shell/currentpagetop.mdx
+++ b/docs/components/shell/currentpagetop.mdx
@@ -18,7 +18,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/shell/floatbottom.mdx b/docs/components/shell/floatbottom.mdx
index 23d46cf..6832d18 100644
--- a/docs/components/shell/floatbottom.mdx
+++ b/docs/components/shell/floatbottom.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/shell/nobreak.mdx b/docs/components/shell/nobreak.mdx
index f80db0d..acb05bf 100644
--- a/docs/components/shell/nobreak.mdx
+++ b/docs/components/shell/nobreak.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/shell/pagebottom.mdx b/docs/components/shell/pagebottom.mdx
index e9ddb53..1e3ba6d 100644
--- a/docs/components/shell/pagebottom.mdx
+++ b/docs/components/shell/pagebottom.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/shell/pagebreak.mdx b/docs/components/shell/pagebreak.mdx
index f57bd30..3db45e0 100644
--- a/docs/components/shell/pagebreak.mdx
+++ b/docs/components/shell/pagebreak.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/shell/pagetop.mdx b/docs/components/shell/pagetop.mdx
index 87489c3..c957d02 100644
--- a/docs/components/shell/pagetop.mdx
+++ b/docs/components/shell/pagetop.mdx
@@ -18,7 +18,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/tailwind/tailwind.mdx b/docs/components/tailwind/tailwind.mdx
index 4e55f44..6d31fd2 100644
--- a/docs/components/tailwind/tailwind.mdx
+++ b/docs/components/tailwind/tailwind.mdx
@@ -16,7 +16,7 @@ Support
Use a simple Tailwind tag to support Tailwind in your document.
-
+
@@ -57,7 +57,7 @@ body {
You can also pass a custom Tailwind config to the Tailwind component.
-
+
diff --git a/docs/components/variables/pagenumber.mdx b/docs/components/variables/pagenumber.mdx
index 695d77d..172e8a7 100644
--- a/docs/components/variables/pagenumber.mdx
+++ b/docs/components/variables/pagenumber.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
@@ -51,7 +51,7 @@ body {
You can use a custom CSS counter-style, by passing a known name or a custom counter style.
-
+
diff --git a/docs/components/variables/pagesnumber.mdx b/docs/components/variables/pagesnumber.mdx
index 690f58d..63eea32 100644
--- a/docs/components/variables/pagesnumber.mdx
+++ b/docs/components/variables/pagesnumber.mdx
@@ -16,7 +16,7 @@ Support
#### Preview
-
+
diff --git a/docs/components/variables/runningh1.mdx b/docs/components/variables/runningh1.mdx
index 425cebd..45ebcec 100644
--- a/docs/components/variables/runningh1.mdx
+++ b/docs/components/variables/runningh1.mdx
@@ -18,7 +18,7 @@ Support
Show the current running header of level 1 in the page header. All running headers are reset when any of their parent headings are encountered (e.g. a level 2 heading resets the level 3, 4, 5 and 6 headings).
-
+
diff --git a/docs/images/previews/compile-2e394416/document.1.jpg b/docs/images/previews/compile-c4caf51a/document.1.jpg
similarity index 70%
rename from docs/images/previews/compile-2e394416/document.1.jpg
rename to docs/images/previews/compile-c4caf51a/document.1.jpg
index 4143aa9..9f5c978 100644
Binary files a/docs/images/previews/compile-2e394416/document.1.jpg and b/docs/images/previews/compile-c4caf51a/document.1.jpg differ
diff --git a/docs/images/previews/compile-2e394416/document.pdf b/docs/images/previews/compile-c4caf51a/document.pdf
similarity index 69%
rename from docs/images/previews/compile-2e394416/document.pdf
rename to docs/images/previews/compile-c4caf51a/document.pdf
index d772d27..a408866 100644
Binary files a/docs/images/previews/compile-2e394416/document.pdf and b/docs/images/previews/compile-c4caf51a/document.pdf differ
diff --git a/docs/images/previews/compile-1badee62/document.1.jpg b/docs/images/previews/compile-cbbe811f/document.1.jpg
similarity index 100%
rename from docs/images/previews/compile-1badee62/document.1.jpg
rename to docs/images/previews/compile-cbbe811f/document.1.jpg
diff --git a/docs/images/previews/compile-1badee62/document.pdf b/docs/images/previews/compile-cbbe811f/document.pdf
similarity index 98%
rename from docs/images/previews/compile-1badee62/document.pdf
rename to docs/images/previews/compile-cbbe811f/document.pdf
index c5e2112..2207f7b 100644
Binary files a/docs/images/previews/compile-1badee62/document.pdf and b/docs/images/previews/compile-cbbe811f/document.pdf differ
diff --git a/docs/images/previews/css-b26814a3/document.1.jpg b/docs/images/previews/css-7dd14403/document.1.jpg
similarity index 100%
rename from docs/images/previews/css-b26814a3/document.1.jpg
rename to docs/images/previews/css-7dd14403/document.1.jpg
diff --git a/docs/images/previews/css-b26814a3/document.pdf b/docs/images/previews/css-7dd14403/document.pdf
similarity index 92%
rename from docs/images/previews/css-b26814a3/document.pdf
rename to docs/images/previews/css-7dd14403/document.pdf
index 287c10d..42b3c2c 100644
Binary files a/docs/images/previews/css-b26814a3/document.pdf and b/docs/images/previews/css-7dd14403/document.pdf differ
diff --git a/docs/images/previews/currentpagetop-9aae489e/document.1.jpg b/docs/images/previews/currentpagetop-81734720/document.1.jpg
similarity index 100%
rename from docs/images/previews/currentpagetop-9aae489e/document.1.jpg
rename to docs/images/previews/currentpagetop-81734720/document.1.jpg
diff --git a/docs/images/previews/currentpagetop-9aae489e/document.pdf b/docs/images/previews/currentpagetop-81734720/document.pdf
similarity index 96%
rename from docs/images/previews/currentpagetop-9aae489e/document.pdf
rename to docs/images/previews/currentpagetop-81734720/document.pdf
index c851d4d..f6b5341 100644
Binary files a/docs/images/previews/currentpagetop-9aae489e/document.pdf and b/docs/images/previews/currentpagetop-81734720/document.pdf differ
diff --git a/docs/images/previews/field-81a661f2/document.1.jpg b/docs/images/previews/field-81a661f2/document.1.jpg
deleted file mode 100644
index d1d37cf..0000000
Binary files a/docs/images/previews/field-81a661f2/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/field-81a661f2/document.pdf b/docs/images/previews/field-81a661f2/document.pdf
deleted file mode 100644
index b202af7..0000000
Binary files a/docs/images/previews/field-81a661f2/document.pdf and /dev/null differ
diff --git a/docs/images/previews/field-da48fb0c/document.1.jpg b/docs/images/previews/field-da48fb0c/document.1.jpg
new file mode 100644
index 0000000..5958cab
Binary files /dev/null and b/docs/images/previews/field-da48fb0c/document.1.jpg differ
diff --git a/docs/images/previews/field-da48fb0c/document.pdf b/docs/images/previews/field-da48fb0c/document.pdf
new file mode 100644
index 0000000..64a1710
Binary files /dev/null and b/docs/images/previews/field-da48fb0c/document.pdf differ
diff --git a/docs/images/previews/floatbottom-9a3986d7/document.1.jpg b/docs/images/previews/floatbottom-17237ced/document.1.jpg
similarity index 58%
rename from docs/images/previews/floatbottom-9a3986d7/document.1.jpg
rename to docs/images/previews/floatbottom-17237ced/document.1.jpg
index 43486f8..673f490 100644
Binary files a/docs/images/previews/floatbottom-9a3986d7/document.1.jpg and b/docs/images/previews/floatbottom-17237ced/document.1.jpg differ
diff --git a/docs/images/previews/floatbottom-17237ced/document.pdf b/docs/images/previews/floatbottom-17237ced/document.pdf
new file mode 100644
index 0000000..0558eb5
Binary files /dev/null and b/docs/images/previews/floatbottom-17237ced/document.pdf differ
diff --git a/docs/images/previews/floatbottom-9a3986d7/document.pdf b/docs/images/previews/floatbottom-9a3986d7/document.pdf
deleted file mode 100644
index 42f4f64..0000000
Binary files a/docs/images/previews/floatbottom-9a3986d7/document.pdf and /dev/null differ
diff --git a/docs/images/previews/font-393a92da/document.1.jpg b/docs/images/previews/font-e0a8ef44/document.1.jpg
similarity index 100%
rename from docs/images/previews/font-393a92da/document.1.jpg
rename to docs/images/previews/font-e0a8ef44/document.1.jpg
diff --git a/docs/images/previews/font-393a92da/document.pdf b/docs/images/previews/font-e0a8ef44/document.pdf
similarity index 50%
rename from docs/images/previews/font-393a92da/document.pdf
rename to docs/images/previews/font-e0a8ef44/document.pdf
index f3fefa8..b772a74 100644
Binary files a/docs/images/previews/font-393a92da/document.pdf and b/docs/images/previews/font-e0a8ef44/document.pdf differ
diff --git a/docs/images/previews/footnote-7de297f4/document.1.jpg b/docs/images/previews/footnote-7de297f4/document.1.jpg
deleted file mode 100644
index cf33c38..0000000
Binary files a/docs/images/previews/footnote-7de297f4/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/footnote-7de297f4/document.pdf b/docs/images/previews/footnote-7de297f4/document.pdf
deleted file mode 100644
index 77f346d..0000000
Binary files a/docs/images/previews/footnote-7de297f4/document.pdf and /dev/null differ
diff --git a/docs/images/previews/footnote-fa9b006a/document.1.jpg b/docs/images/previews/footnote-fa9b006a/document.1.jpg
new file mode 100644
index 0000000..1eee977
Binary files /dev/null and b/docs/images/previews/footnote-fa9b006a/document.1.jpg differ
diff --git a/docs/images/previews/footnote-fa9b006a/document.pdf b/docs/images/previews/footnote-fa9b006a/document.pdf
new file mode 100644
index 0000000..54c8c20
Binary files /dev/null and b/docs/images/previews/footnote-fa9b006a/document.pdf differ
diff --git a/docs/images/previews/latex-7a00ed36/document.1.jpg b/docs/images/previews/latex-df0188b4/document.1.jpg
similarity index 100%
rename from docs/images/previews/latex-7a00ed36/document.1.jpg
rename to docs/images/previews/latex-df0188b4/document.1.jpg
diff --git a/docs/images/previews/latex-7a00ed36/document.pdf b/docs/images/previews/latex-df0188b4/document.pdf
similarity index 99%
rename from docs/images/previews/latex-7a00ed36/document.pdf
rename to docs/images/previews/latex-df0188b4/document.pdf
index b884ca2..d144664 100644
Binary files a/docs/images/previews/latex-7a00ed36/document.pdf and b/docs/images/previews/latex-df0188b4/document.pdf differ
diff --git a/docs/images/previews/latex-83ad6403/document.1.jpg b/docs/images/previews/latex-f2f93949/document.1.jpg
similarity index 100%
rename from docs/images/previews/latex-83ad6403/document.1.jpg
rename to docs/images/previews/latex-f2f93949/document.1.jpg
diff --git a/docs/images/previews/latex-83ad6403/document.pdf b/docs/images/previews/latex-f2f93949/document.pdf
similarity index 97%
rename from docs/images/previews/latex-83ad6403/document.pdf
rename to docs/images/previews/latex-f2f93949/document.pdf
index 5f46e32..c76a91f 100644
Binary files a/docs/images/previews/latex-83ad6403/document.pdf and b/docs/images/previews/latex-f2f93949/document.pdf differ
diff --git a/docs/images/previews/margins-50add8b7/document.1.jpg b/docs/images/previews/margins-50add8b7/document.1.jpg
new file mode 100644
index 0000000..65a7154
Binary files /dev/null and b/docs/images/previews/margins-50add8b7/document.1.jpg differ
diff --git a/docs/images/previews/margins-db4795b6/document.pdf b/docs/images/previews/margins-50add8b7/document.pdf
similarity index 68%
rename from docs/images/previews/margins-db4795b6/document.pdf
rename to docs/images/previews/margins-50add8b7/document.pdf
index 85a9a4d..3a260d9 100644
Binary files a/docs/images/previews/margins-db4795b6/document.pdf and b/docs/images/previews/margins-50add8b7/document.pdf differ
diff --git a/docs/images/previews/margins-db4795b6/document.1.jpg b/docs/images/previews/margins-db4795b6/document.1.jpg
deleted file mode 100644
index af8ab1e..0000000
Binary files a/docs/images/previews/margins-db4795b6/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/markdown-788360ba/document.1.jpg b/docs/images/previews/markdown-788360ba/document.1.jpg
new file mode 100644
index 0000000..f5367f8
Binary files /dev/null and b/docs/images/previews/markdown-788360ba/document.1.jpg differ
diff --git a/docs/images/previews/markdown-c8d0ecd4/document.pdf b/docs/images/previews/markdown-788360ba/document.pdf
similarity index 55%
rename from docs/images/previews/markdown-c8d0ecd4/document.pdf
rename to docs/images/previews/markdown-788360ba/document.pdf
index 68de45d..d915778 100644
Binary files a/docs/images/previews/markdown-c8d0ecd4/document.pdf and b/docs/images/previews/markdown-788360ba/document.pdf differ
diff --git a/docs/images/previews/markdown-7e966af7/document.1.jpg b/docs/images/previews/markdown-7e966af7/document.1.jpg
new file mode 100644
index 0000000..fbb4ba3
Binary files /dev/null and b/docs/images/previews/markdown-7e966af7/document.1.jpg differ
diff --git a/docs/images/previews/markdown-882cc486/document.pdf b/docs/images/previews/markdown-7e966af7/document.pdf
similarity index 50%
rename from docs/images/previews/markdown-882cc486/document.pdf
rename to docs/images/previews/markdown-7e966af7/document.pdf
index 30d6ec2..013705f 100644
Binary files a/docs/images/previews/markdown-882cc486/document.pdf and b/docs/images/previews/markdown-7e966af7/document.pdf differ
diff --git a/docs/images/previews/markdown-882cc486/document.1.jpg b/docs/images/previews/markdown-882cc486/document.1.jpg
deleted file mode 100644
index c9b1e65..0000000
Binary files a/docs/images/previews/markdown-882cc486/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/markdown-c8d0ecd4/document.1.jpg b/docs/images/previews/markdown-c8d0ecd4/document.1.jpg
deleted file mode 100644
index d3323fe..0000000
Binary files a/docs/images/previews/markdown-c8d0ecd4/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/nobreak-47b8dd06/document.1.jpg b/docs/images/previews/nobreak-47b8dd06/document.1.jpg
new file mode 100644
index 0000000..767f017
Binary files /dev/null and b/docs/images/previews/nobreak-47b8dd06/document.1.jpg differ
diff --git a/docs/images/previews/nobreak-47b8dd06/document.pdf b/docs/images/previews/nobreak-47b8dd06/document.pdf
new file mode 100644
index 0000000..6b9d3c3
Binary files /dev/null and b/docs/images/previews/nobreak-47b8dd06/document.pdf differ
diff --git a/docs/images/previews/nobreak-d03f0d1f/document.1.jpg b/docs/images/previews/nobreak-d03f0d1f/document.1.jpg
deleted file mode 100644
index a22ea50..0000000
Binary files a/docs/images/previews/nobreak-d03f0d1f/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/nobreak-d03f0d1f/document.pdf b/docs/images/previews/nobreak-d03f0d1f/document.pdf
deleted file mode 100644
index 7d43fb7..0000000
Binary files a/docs/images/previews/nobreak-d03f0d1f/document.pdf and /dev/null differ
diff --git a/docs/images/previews/pagebottom-206d811e/document.1.jpg b/docs/images/previews/pagebottom-f6fd9841/document.1.jpg
similarity index 100%
rename from docs/images/previews/pagebottom-206d811e/document.1.jpg
rename to docs/images/previews/pagebottom-f6fd9841/document.1.jpg
diff --git a/docs/images/previews/pagebottom-206d811e/document.pdf b/docs/images/previews/pagebottom-f6fd9841/document.pdf
similarity index 96%
rename from docs/images/previews/pagebottom-206d811e/document.pdf
rename to docs/images/previews/pagebottom-f6fd9841/document.pdf
index b1031a5..e3c9182 100644
Binary files a/docs/images/previews/pagebottom-206d811e/document.pdf and b/docs/images/previews/pagebottom-f6fd9841/document.pdf differ
diff --git a/docs/images/previews/pagebreak-88acdbdf/document.pdf b/docs/images/previews/pagebreak-88acdbdf/document.pdf
deleted file mode 100644
index 0f26986..0000000
Binary files a/docs/images/previews/pagebreak-88acdbdf/document.pdf and /dev/null differ
diff --git a/docs/images/previews/pagebreak-88acdbdf/document.1.jpg b/docs/images/previews/pagebreak-d3424866/document.1.jpg
similarity index 69%
rename from docs/images/previews/pagebreak-88acdbdf/document.1.jpg
rename to docs/images/previews/pagebreak-d3424866/document.1.jpg
index 423d21b..dc88f69 100644
Binary files a/docs/images/previews/pagebreak-88acdbdf/document.1.jpg and b/docs/images/previews/pagebreak-d3424866/document.1.jpg differ
diff --git a/docs/images/previews/pagebreak-88acdbdf/document.2.jpg b/docs/images/previews/pagebreak-d3424866/document.2.jpg
similarity index 67%
rename from docs/images/previews/pagebreak-88acdbdf/document.2.jpg
rename to docs/images/previews/pagebreak-d3424866/document.2.jpg
index 0040448..426a828 100644
Binary files a/docs/images/previews/pagebreak-88acdbdf/document.2.jpg and b/docs/images/previews/pagebreak-d3424866/document.2.jpg differ
diff --git a/docs/images/previews/pagebreak-d3424866/document.pdf b/docs/images/previews/pagebreak-d3424866/document.pdf
new file mode 100644
index 0000000..39d9298
Binary files /dev/null and b/docs/images/previews/pagebreak-d3424866/document.pdf differ
diff --git a/docs/images/previews/pagenumber-7e3be4c3/document.1.jpg b/docs/images/previews/pagenumber-391d6c27/document.1.jpg
similarity index 95%
rename from docs/images/previews/pagenumber-7e3be4c3/document.1.jpg
rename to docs/images/previews/pagenumber-391d6c27/document.1.jpg
index 30ba34b..7129a8b 100644
Binary files a/docs/images/previews/pagenumber-7e3be4c3/document.1.jpg and b/docs/images/previews/pagenumber-391d6c27/document.1.jpg differ
diff --git a/docs/images/previews/pagenumber-7e3be4c3/document.pdf b/docs/images/previews/pagenumber-391d6c27/document.pdf
similarity index 68%
rename from docs/images/previews/pagenumber-7e3be4c3/document.pdf
rename to docs/images/previews/pagenumber-391d6c27/document.pdf
index 1b16ae0..7f18b6c 100644
Binary files a/docs/images/previews/pagenumber-7e3be4c3/document.pdf and b/docs/images/previews/pagenumber-391d6c27/document.pdf differ
diff --git a/docs/images/previews/pagenumber-cc94f6f7/document.1.jpg b/docs/images/previews/pagenumber-ea46baaf/document.1.jpg
similarity index 95%
rename from docs/images/previews/pagenumber-cc94f6f7/document.1.jpg
rename to docs/images/previews/pagenumber-ea46baaf/document.1.jpg
index e66333d..3d10494 100644
Binary files a/docs/images/previews/pagenumber-cc94f6f7/document.1.jpg and b/docs/images/previews/pagenumber-ea46baaf/document.1.jpg differ
diff --git a/docs/images/previews/pagenumber-cc94f6f7/document.pdf b/docs/images/previews/pagenumber-ea46baaf/document.pdf
similarity index 69%
rename from docs/images/previews/pagenumber-cc94f6f7/document.pdf
rename to docs/images/previews/pagenumber-ea46baaf/document.pdf
index e1e2d37..0f5ac2a 100644
Binary files a/docs/images/previews/pagenumber-cc94f6f7/document.pdf and b/docs/images/previews/pagenumber-ea46baaf/document.pdf differ
diff --git a/docs/images/previews/pagesnumber-a7d845b5/document.1.jpg b/docs/images/previews/pagesnumber-10c1cbad/document.1.jpg
similarity index 89%
rename from docs/images/previews/pagesnumber-a7d845b5/document.1.jpg
rename to docs/images/previews/pagesnumber-10c1cbad/document.1.jpg
index 239f0d7..939913b 100644
Binary files a/docs/images/previews/pagesnumber-a7d845b5/document.1.jpg and b/docs/images/previews/pagesnumber-10c1cbad/document.1.jpg differ
diff --git a/docs/images/previews/pagesnumber-a7d845b5/document.pdf b/docs/images/previews/pagesnumber-10c1cbad/document.pdf
similarity index 59%
rename from docs/images/previews/pagesnumber-a7d845b5/document.pdf
rename to docs/images/previews/pagesnumber-10c1cbad/document.pdf
index 162416e..b90f863 100644
Binary files a/docs/images/previews/pagesnumber-a7d845b5/document.pdf and b/docs/images/previews/pagesnumber-10c1cbad/document.pdf differ
diff --git a/docs/images/previews/pagetop-9dd97ef3/document.1.jpg b/docs/images/previews/pagetop-ef21c693/document.1.jpg
similarity index 100%
rename from docs/images/previews/pagetop-9dd97ef3/document.1.jpg
rename to docs/images/previews/pagetop-ef21c693/document.1.jpg
diff --git a/docs/images/previews/pagetop-9dd97ef3/document.pdf b/docs/images/previews/pagetop-ef21c693/document.pdf
similarity index 96%
rename from docs/images/previews/pagetop-9dd97ef3/document.pdf
rename to docs/images/previews/pagetop-ef21c693/document.pdf
index 7413fc6..45c04cd 100644
Binary files a/docs/images/previews/pagetop-9dd97ef3/document.pdf and b/docs/images/previews/pagetop-ef21c693/document.pdf differ
diff --git a/docs/images/previews/runningh1-16658c8e/document.1.jpg b/docs/images/previews/runningh1-16658c8e/document.1.jpg
new file mode 100644
index 0000000..a2cc307
Binary files /dev/null and b/docs/images/previews/runningh1-16658c8e/document.1.jpg differ
diff --git a/docs/images/previews/runningh1-16658c8e/document.pdf b/docs/images/previews/runningh1-16658c8e/document.pdf
new file mode 100644
index 0000000..7c138b7
Binary files /dev/null and b/docs/images/previews/runningh1-16658c8e/document.pdf differ
diff --git a/docs/images/previews/runningh1-b41bbc29/document.1.jpg b/docs/images/previews/runningh1-b41bbc29/document.1.jpg
deleted file mode 100644
index 8125057..0000000
Binary files a/docs/images/previews/runningh1-b41bbc29/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/runningh1-b41bbc29/document.pdf b/docs/images/previews/runningh1-b41bbc29/document.pdf
deleted file mode 100644
index 2f2a396..0000000
Binary files a/docs/images/previews/runningh1-b41bbc29/document.pdf and /dev/null differ
diff --git a/docs/images/previews/tailwind-15d3ba0e/document.1.jpg b/docs/images/previews/tailwind-15d3ba0e/document.1.jpg
new file mode 100644
index 0000000..6dee973
Binary files /dev/null and b/docs/images/previews/tailwind-15d3ba0e/document.1.jpg differ
diff --git a/docs/images/previews/tailwind-841def4d/document.pdf b/docs/images/previews/tailwind-15d3ba0e/document.pdf
similarity index 57%
rename from docs/images/previews/tailwind-841def4d/document.pdf
rename to docs/images/previews/tailwind-15d3ba0e/document.pdf
index 8c75f48..8f9d99c 100644
Binary files a/docs/images/previews/tailwind-841def4d/document.pdf and b/docs/images/previews/tailwind-15d3ba0e/document.pdf differ
diff --git a/docs/images/previews/tailwind-45926711/document.1.jpg b/docs/images/previews/tailwind-45926711/document.1.jpg
new file mode 100644
index 0000000..e2edf7b
Binary files /dev/null and b/docs/images/previews/tailwind-45926711/document.1.jpg differ
diff --git a/docs/images/previews/tailwind-d34cd362/document.pdf b/docs/images/previews/tailwind-45926711/document.pdf
similarity index 60%
rename from docs/images/previews/tailwind-d34cd362/document.pdf
rename to docs/images/previews/tailwind-45926711/document.pdf
index 24d87ff..b50b210 100644
Binary files a/docs/images/previews/tailwind-d34cd362/document.pdf and b/docs/images/previews/tailwind-45926711/document.pdf differ
diff --git a/docs/images/previews/tailwind-841def4d/document.1.jpg b/docs/images/previews/tailwind-841def4d/document.1.jpg
deleted file mode 100644
index c669ed5..0000000
Binary files a/docs/images/previews/tailwind-841def4d/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/tailwind-d34cd362/document.1.jpg b/docs/images/previews/tailwind-d34cd362/document.1.jpg
deleted file mode 100644
index 2aa1955..0000000
Binary files a/docs/images/previews/tailwind-d34cd362/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/ui-templates-invoice-b87296fc/document.1.jpg b/docs/images/previews/ui-templates-invoice-8da74a96/document.1.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-invoice-b87296fc/document.1.jpg
rename to docs/images/previews/ui-templates-invoice-8da74a96/document.1.jpg
diff --git a/docs/images/previews/ui-templates-invoice-b87296fc/document.pdf b/docs/images/previews/ui-templates-invoice-8da74a96/document.pdf
similarity index 99%
rename from docs/images/previews/ui-templates-invoice-b87296fc/document.pdf
rename to docs/images/previews/ui-templates-invoice-8da74a96/document.pdf
index 003c86e..6c6f904 100644
Binary files a/docs/images/previews/ui-templates-invoice-b87296fc/document.pdf and b/docs/images/previews/ui-templates-invoice-8da74a96/document.pdf differ
diff --git a/docs/images/previews/ui-templates-invoice-advanced-4497fe25/document.1.jpg b/docs/images/previews/ui-templates-invoice-advanced-4497fe25/document.1.jpg
deleted file mode 100644
index 5648893..0000000
Binary files a/docs/images/previews/ui-templates-invoice-advanced-4497fe25/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/ui-templates-invoice-advanced-c81d4542/document.1.jpg b/docs/images/previews/ui-templates-invoice-advanced-c81d4542/document.1.jpg
new file mode 100644
index 0000000..09b32c4
Binary files /dev/null and b/docs/images/previews/ui-templates-invoice-advanced-c81d4542/document.1.jpg differ
diff --git a/docs/images/previews/ui-templates-invoice-advanced-4497fe25/document.pdf b/docs/images/previews/ui-templates-invoice-advanced-c81d4542/document.pdf
similarity index 65%
rename from docs/images/previews/ui-templates-invoice-advanced-4497fe25/document.pdf
rename to docs/images/previews/ui-templates-invoice-advanced-c81d4542/document.pdf
index 2a4dff3..e7a295b 100644
Binary files a/docs/images/previews/ui-templates-invoice-advanced-4497fe25/document.pdf and b/docs/images/previews/ui-templates-invoice-advanced-c81d4542/document.pdf differ
diff --git a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.1.jpg b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.1.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-nda-markdown-0c872119/document.1.jpg
rename to docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.1.jpg
diff --git a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.2.jpg b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.2.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-nda-markdown-0c872119/document.2.jpg
rename to docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.2.jpg
diff --git a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.3.jpg b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.3.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-nda-markdown-0c872119/document.3.jpg
rename to docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.3.jpg
diff --git a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.4.jpg b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.4.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-nda-markdown-0c872119/document.4.jpg
rename to docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.4.jpg
diff --git a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.5.jpg b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.5.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-nda-markdown-0c872119/document.5.jpg
rename to docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.5.jpg
diff --git a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.pdf b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.pdf
similarity index 99%
rename from docs/images/previews/ui-templates-nda-markdown-0c872119/document.pdf
rename to docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.pdf
index 63f7d2d..33bc7b1 100644
Binary files a/docs/images/previews/ui-templates-nda-markdown-0c872119/document.pdf and b/docs/images/previews/ui-templates-nda-markdown-daf9ece1/document.pdf differ
diff --git a/docs/images/previews/ui-templates-receipt-3f97df85/document.1.jpg b/docs/images/previews/ui-templates-receipt-0d823fc6/document.1.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-receipt-3f97df85/document.1.jpg
rename to docs/images/previews/ui-templates-receipt-0d823fc6/document.1.jpg
diff --git a/docs/images/previews/ui-templates-receipt-3f97df85/document.pdf b/docs/images/previews/ui-templates-receipt-0d823fc6/document.pdf
similarity index 99%
rename from docs/images/previews/ui-templates-receipt-3f97df85/document.pdf
rename to docs/images/previews/ui-templates-receipt-0d823fc6/document.pdf
index 83ddb83..f2b2fcb 100644
Binary files a/docs/images/previews/ui-templates-receipt-3f97df85/document.pdf and b/docs/images/previews/ui-templates-receipt-0d823fc6/document.pdf differ
diff --git a/docs/images/previews/ui-templates-report-charts-1339f0ec/document.1.jpg b/docs/images/previews/ui-templates-report-charts-1339f0ec/document.1.jpg
new file mode 100644
index 0000000..2caedb5
Binary files /dev/null and b/docs/images/previews/ui-templates-report-charts-1339f0ec/document.1.jpg differ
diff --git a/docs/images/previews/ui-templates-report-charts-1339f0ec/document.pdf b/docs/images/previews/ui-templates-report-charts-1339f0ec/document.pdf
new file mode 100644
index 0000000..c5f5059
Binary files /dev/null and b/docs/images/previews/ui-templates-report-charts-1339f0ec/document.pdf differ
diff --git a/docs/images/previews/ui-templates-report-charts-7d5e23ad/document.1.jpg b/docs/images/previews/ui-templates-report-charts-7d5e23ad/document.1.jpg
deleted file mode 100644
index 41c3197..0000000
Binary files a/docs/images/previews/ui-templates-report-charts-7d5e23ad/document.1.jpg and /dev/null differ
diff --git a/docs/images/previews/ui-templates-report-charts-7d5e23ad/document.pdf b/docs/images/previews/ui-templates-report-charts-7d5e23ad/document.pdf
deleted file mode 100644
index 1989ef5..0000000
Binary files a/docs/images/previews/ui-templates-report-charts-7d5e23ad/document.pdf and /dev/null differ
diff --git a/docs/images/previews/ui-templates-scientific-report-d26af32f/document.1.jpg b/docs/images/previews/ui-templates-scientific-report-de8367bc/document.1.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-scientific-report-d26af32f/document.1.jpg
rename to docs/images/previews/ui-templates-scientific-report-de8367bc/document.1.jpg
diff --git a/docs/images/previews/ui-templates-scientific-report-d26af32f/document.2.jpg b/docs/images/previews/ui-templates-scientific-report-de8367bc/document.2.jpg
similarity index 100%
rename from docs/images/previews/ui-templates-scientific-report-d26af32f/document.2.jpg
rename to docs/images/previews/ui-templates-scientific-report-de8367bc/document.2.jpg
diff --git a/docs/images/previews/ui-templates-scientific-report-d26af32f/document.pdf b/docs/images/previews/ui-templates-scientific-report-de8367bc/document.pdf
similarity index 83%
rename from docs/images/previews/ui-templates-scientific-report-d26af32f/document.pdf
rename to docs/images/previews/ui-templates-scientific-report-de8367bc/document.pdf
index 8e65e81..289c14c 100644
Binary files a/docs/images/previews/ui-templates-scientific-report-d26af32f/document.pdf and b/docs/images/previews/ui-templates-scientific-report-de8367bc/document.pdf differ
diff --git a/docs/introduction.mdx b/docs/introduction.mdx
index 3a6c344..901afe4 100644
--- a/docs/introduction.mdx
+++ b/docs/introduction.mdx
@@ -41,72 +41,25 @@ React Print is designed to be incrementally adopted, so you can add it to most c
A set of standard components to help you build amazing documents without having to deal with the mess of creating complex layouts and maintaining archaic markup.
-
-
+
Compile a React component to a string with the Onedoc print styles.
-
-
+
Allows adding CSS to the document while securely parsing and escaping it.
-
-
+
Create automatically numbered footnotes.
-
-
+
Render LaTeX formulas right in your React components.
-
-
+
Render Markdown inside your templates.
-
-
+
Display content in other page regions.
-
-
+
Add signature fields to your document.
-
-
+
A simple, drop-in way to use Tailwind CSS in your components.
-
-
- Display dynamic values based on your document, such as page numbers and
- running headers.
-
-
+
+ Display dynamic values based on your document, such as page numbers and running headers.
+
Help us increase the number of components and start being an active member of
the react-print community by
diff --git a/docs/mint.json b/docs/mint.json
index 658d35f..443f5ed 100644
--- a/docs/mint.json
+++ b/docs/mint.json
@@ -75,15 +75,22 @@
"navigation": [
{
"group": "Overview",
- "pages": ["introduction", "contributing"]
+ "pages": [
+ "introduction",
+ "contributing"
+ ]
},
{
"group": "Getting Started",
- "pages": ["getting-started/setup"]
+ "pages": [
+ "getting-started/setup"
+ ]
},
{
"group": "Integrations",
- "pages": ["integrations/onedoc"]
+ "pages": [
+ "integrations/onedoc"
+ ]
},
{
"group": "Components",
@@ -112,21 +119,30 @@
},
{
"group": "Receipts",
- "pages": ["ui/templates/receipt"]
+ "pages": [
+ "ui/templates/receipt"
+ ]
},
{
"group": "NDA",
- "pages": ["ui/templates/nda-markdown"]
+ "pages": [
+ "ui/templates/nda-markdown"
+ ]
},
{
"group": "Invoices",
- "pages": ["ui/templates/invoice", "ui/templates/invoice-advanced"]
+ "pages": [
+ "ui/templates/invoice",
+ "ui/templates/invoice-advanced"
+ ]
}
]
},
{
"group": "Troubleshooting",
- "pages": ["troubleshooting/faq"]
+ "pages": [
+ "troubleshooting/faq"
+ ]
}
],
"footerSocials": {
@@ -134,4 +150,4 @@
"github": "https://github.com/OnedocLabs/onedoc",
"linkedin": "https://www.linkedin.com/company/onedoclabs"
}
-}
+}
\ No newline at end of file
diff --git a/docs/sortedDocs.json b/docs/sortedDocs.json
index c946f28..6937c4e 100644
--- a/docs/sortedDocs.json
+++ b/docs/sortedDocs.json
@@ -1 +1 @@
-[{"icon":"fa-solid fa-code","name":"compile","description":"Compile a React component to a string with the Onedoc print styles.","outputPath":"/Users/pierredorge/Documents/onedoc/react-print/docs/components/compile","files":[{"name":"compile","baseName":"compile","path":"compile/compile.tsx","outputPath":"/Users/pierredorge/Documents/onedoc/react-print/docs/components/compile/compile.mdx","markdown":"---\ntitle: compile\n\n\n---\n\nSupport\n\n
Client-side
Server-side
\n\n#### Preview\n\nA simple function to compile a React component to an HTML string with the Onedoc print styles.\n ```jsx\n const html = await compile();\n ```\n\n\n\n
\n\n```jsx\nimport { compile } from \"@fileforge/react-print\";\n\n\n
\n\n### Examples\n\n#### Emotion CSS\n\nPass `{ emotion: true }` as the second compile option to merge and extract critical CSS using Emotion. Some libraries such as Chakra UI require this option to work correctly.\n\n```jsx\nconst html = await compile(, { emotion: true });\n```\n\n\n\n
\n\n","config":{"name":"compile","description":"","components":{"compile":{"server":true,"client":true,"examples":{"default":{"description":"A simple function to compile a React component to an HTML string with the Onedoc print styles.\n ```jsx\n const html = await compile();\n ```","template":{"key":null,"ref":null,"props":{"children":{"type":"div","key":null,"ref":null,"props":{"className":"bg-red-400","children":"Hello World!"},"_owner":null,"_store":{}}},"_owner":null,"_store":{}},"templateString":"
Hello World!
"},"emotion":{"description":"Pass `{ emotion: true }` as the second compile option to merge and extract critical CSS using Emotion. Some libraries such as Chakra UI require this option to work correctly.\n\n```jsx\nconst html = await compile(, { emotion: true });\n```","template":{"key":null,"ref":null,"props":{"children":{"key":null,"ref":null,"props":{"children":{"type":{},"key":null,"ref":null,"props":{"colorScheme":"blue","children":"Hello"},"_owner":null,"_store":{}}},"_owner":null,"_store":{}}},"_owner":null,"_store":{}},"name":"Emotion CSS","compileOptions":{"emotion":true},"externalImports":["import { Button, ChakraProvider, extendTheme } from \"@chakra-ui/react\";"],"templateString":"(\n <>\n \n \n \n >\n )"}}}}}}]},{"icon":"fa-brands fa-css3-alt","name":"CSS","description":"Allows adding CSS to the document while securely parsing and escaping it.\n\nNB: While you can add regular CSS with the `