diff --git a/.prettierrc b/.prettierrc index 3455ffe60..49e6b8e7e 100644 --- a/.prettierrc +++ b/.prettierrc @@ -9,10 +9,17 @@ "overrides": [ { - files: ["tsconfig.json"], - options: { - parser: "json", - }, + "files": ["tsconfig.json", ".prettierrc"], + "options": { + "parser": "json" + } }, + { + "files": ["**/*.html"], + "options": { + "parser": "html", + "printWidth": 160 + } + } ] } diff --git a/examples/components/pageviewer.html b/examples/components/pageviewer.html index 267f8cc29..76f7e3684 100644 --- a/examples/components/pageviewer.html +++ b/examples/components/pageviewer.html @@ -1,4 +1,4 @@ - + -
- - - -Text-only PDF.js example
-Text-only PDF.js example
+ + diff --git a/examples/webpack/index.html b/examples/webpack/index.html index ed25387f2..a9ba7bd12 100644 --- a/examples/webpack/index.html +++ b/examples/webpack/index.html @@ -1,11 +1,11 @@ - + - - -
- Paste your log into this textarea:
-
-
-
-
...or load it from a file:
-
-
| Pixel at: | -- | |
|---|---|---|
| Test: | -- | - |
| Reference: | -- | - |
Move the mouse over the reftest image on the right to show - magnified pixels on the left. The color information above is for - the pixel centered in the magnified view.
-The test is shown in the upper triangle of each pixel and - the reference is shown in the lower triangle.
+ +
+ Paste your log into this textarea:
+
+
+
+
...or load it from a file:
+
+
| Pixel at: | ++ | |
|---|---|---|
| Test: | ++ | + |
| Reference: | ++ | + |
+ Move the mouse over the reftest image on the right to show magnified pixels on the left. The color information above is for the pixel centered + in the magnified view. +
+The test is shown in the upper triangle of each pixel and the reference is shown in the lower triangle.
+
- Click on
- "Allow access to file URLs"
- at
+ word-break: break-all;
+ "
+ >
+ Click on "Allow access to file URLs" at
chrome://extensions
-
+
to view this PDF file.
or select the file again: - +