Skip to content

Commit 04b35a1

Browse files
committed
add indentation to examples
1 parent 56fe092 commit 04b35a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pdf-parts-gen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function getExamplesDef(contentTypeObj, localizedExampleLabel) {
186186
if (contentTypeObj.example) {
187187
exampleSectionDef.push([
188188
{ text: `${localizedExampleLabel}:`, margin: [20, 10, 0, 0], style: ['small', 'b'] },
189-
{ text: JSON.stringify(contentTypeObj.example, null, 2), margin: [40, 10, 0, 0], style: 'monoSub' },
189+
{ text: JSON.stringify(contentTypeObj.example, null, '\u200B \u200B'), margin: [40, 10, 0, 0], style: 'monoSub' },
190190
]);
191191
}
192192
if (contentTypeObj.examples) {

0 commit comments

Comments
 (0)