diff --git a/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts b/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts index 51b26e0db94..f8af6353fbe 100644 --- a/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts +++ b/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts @@ -133,7 +133,7 @@ export class OfficeYamlDocumenter extends YamlDocumenter { } private _generateExampleSnippetText(snippets: string[]): string { - const text: string[] = ['\n#### Examples\n']; + const text: string[] = ['\n\n#### Examples\n']; for (const snippet of snippets) { if (snippet.search(/await/) === -1) { text.push('```javascript'); diff --git a/common/changes/@microsoft/api-documenter/AlexJ-Example_2019-04-16-00-12.json b/common/changes/@microsoft/api-documenter/AlexJ-Example_2019-04-16-00-12.json new file mode 100644 index 00000000000..c90f7426131 --- /dev/null +++ b/common/changes/@microsoft/api-documenter/AlexJ-Example_2019-04-16-00-12.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-documenter", + "comment": "Adding an extra newline to the OfficeYamlDocumenter Examples header insertion", + "type": "patch" + } + ], + "packageName": "@microsoft/api-documenter", + "email": "AlexJerabek@users.noreply.github.com" +} \ No newline at end of file