Merge pull request #314 from efx/fix-doc-links

fix broken documentation links
This commit is contained in:
Dolan
2019-04-29 12:08:27 +01:00
committed by GitHub
3 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ doc.Header.createImage([BUFFER_OF_YOUR_IMAGE]);
doc.Footer.createImage([BUFFER_OF_YOUR_IMAGE]);
```
Refer to `demo8.js` for more information
Refer to [`demo8.ts`](https://github.com/dolanmiu/docx/blob/master/demo/demo8.ts) for more information.
## Multiple Headers and Footers

View File

@ -85,7 +85,7 @@ When a paragraph is justified, you may want to not justify the contents of incom
This is possible to achieve using:
```ts
this.doc.Settings.addCompatibility().doNotExpandShiftReturn()
this.doc.Settings.addCompatibility().doNotExpandShiftReturn();
```
The result is:
@ -122,7 +122,7 @@ var paragraph = new docx.Paragraph("Hello World on another page").pageBreakBefor
![Page Break Before in Word](https://user-images.githubusercontent.com/34742290/40176503-df3a8398-59db-11e8-8b9c-d719f13aa8b4.png)
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo15.js
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo15.ts
## Page break control

View File

@ -44,4 +44,4 @@ doc.addParagraph(paragraph);
doc.createParagraph("Some normal text");
```
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo13.js
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo13.ts