Skip to content

Commit

Permalink
add indentation to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mrin9 committed Jul 26, 2020
1 parent 56fe092 commit 04b35a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdf-parts-gen.js
Expand Up @@ -186,7 +186,7 @@ function getExamplesDef(contentTypeObj, localizedExampleLabel) {
if (contentTypeObj.example) {
exampleSectionDef.push([
{ text: `${localizedExampleLabel}:`, margin: [20, 10, 0, 0], style: ['small', 'b'] },
{ text: JSON.stringify(contentTypeObj.example, null, 2), margin: [40, 10, 0, 0], style: 'monoSub' },
{ text: JSON.stringify(contentTypeObj.example, null, '\u200B \u200B'), margin: [40, 10, 0, 0], style: 'monoSub' },
]);
}
if (contentTypeObj.examples) {
Expand Down

0 comments on commit 04b35a1

Please sign in to comment.