@t8/docsgen 0.4.25 → 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 +1 -0
- package/dist/css/base.css +4 -5
- package/package.json +1 -1
- package/src/bin/parsing/getSectionPostprocess.ts +1 -0
- package/src/css/base.css +4 -5
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/dist/css/base.css
CHANGED
|
@@ -185,18 +185,17 @@ html.blank .layout {
|
|
|
185
185
|
justify-content: center;
|
|
186
186
|
overflow: hidden;
|
|
187
187
|
}
|
|
188
|
-
fieldset
|
|
189
|
-
--background: #242424;
|
|
190
|
-
|
|
188
|
+
fieldset {
|
|
191
189
|
border: 0.05em solid var(--secondary-color);
|
|
192
190
|
padding: 0.25em 0.65em 0.65em;
|
|
193
191
|
margin: var(--block-margin-y) 0;
|
|
194
192
|
}
|
|
195
|
-
fieldset
|
|
193
|
+
fieldset legend {
|
|
196
194
|
font-size: 0.8em;
|
|
197
195
|
color: var(--secondary-color);
|
|
198
196
|
}
|
|
199
|
-
|
|
197
|
+
iframe.csb {
|
|
198
|
+
--background: #242424;
|
|
200
199
|
display: block;
|
|
201
200
|
width: 100%;
|
|
202
201
|
height: 360px;
|
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
|
|
package/src/css/base.css
CHANGED
|
@@ -185,18 +185,17 @@ html.blank .layout {
|
|
|
185
185
|
justify-content: center;
|
|
186
186
|
overflow: hidden;
|
|
187
187
|
}
|
|
188
|
-
fieldset
|
|
189
|
-
--background: #242424;
|
|
190
|
-
|
|
188
|
+
fieldset {
|
|
191
189
|
border: 0.05em solid var(--secondary-color);
|
|
192
190
|
padding: 0.25em 0.65em 0.65em;
|
|
193
191
|
margin: var(--block-margin-y) 0;
|
|
194
192
|
}
|
|
195
|
-
fieldset
|
|
193
|
+
fieldset legend {
|
|
196
194
|
font-size: 0.8em;
|
|
197
195
|
color: var(--secondary-color);
|
|
198
196
|
}
|
|
199
|
-
|
|
197
|
+
iframe.csb {
|
|
198
|
+
--background: #242424;
|
|
200
199
|
display: block;
|
|
201
200
|
width: 100%;
|
|
202
201
|
height: 360px;
|