@t8/docsgen 0.4.26 → 0.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js
CHANGED
|
@@ -438,6 +438,7 @@ function getPreviewContent(url, title) {
|
|
|
438
438
|
previewURL.searchParams.set("view", "preview");
|
|
439
439
|
previewURL.searchParams.set("hidedevtools", "1");
|
|
440
440
|
previewURL.searchParams.set("theme", "dark");
|
|
441
|
+
previewURL.searchParams.set("fontsize", "12");
|
|
441
442
|
if (file) previewURL.searchParams.set("module", file);
|
|
442
443
|
let attrs = ['class="csb"', `src="${previewURL.href}"`];
|
|
443
444
|
if (title) attrs.push(`title="${title}"`);
|
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ function getPreviewContent(url: string, title?: string) {
|
|
|
17
17
|
previewURL.searchParams.set("view", "preview");
|
|
18
18
|
previewURL.searchParams.set("hidedevtools", "1");
|
|
19
19
|
previewURL.searchParams.set("theme", "dark");
|
|
20
|
+
previewURL.searchParams.set("fontsize", "12");
|
|
20
21
|
|
|
21
22
|
if (file) previewURL.searchParams.set("module", file);
|
|
22
23
|
|