Add more examples

This commit is contained in:
Dolan Miu
2018-08-05 04:14:25 +01:00
parent f9c5db8df7
commit cdf3a6fb40

View File

@ -1,9 +1,34 @@
# Examples # Examples
## Simple Example ## Simple
A simple hello world of the `docx` library: A simple hello world of the `docx` library:
[Simple Example](https://github.com/dolanmiu/docx/blob/master/demo/demo1.js ':include') [Simple Example](https://raw.githubusercontent.com/dolanmiu/docx/master/demo/demo1.js ':include')
Source: https://github.com/dolanmiu/docx/blob/master/demo/demo1.js *Source: https://github.com/dolanmiu/docx/blob/master/demo/demo1.js*
## Styles
This example shows how to customise the look and feel of a document using JS configuration
[Simple Example](https://raw.githubusercontent.com/dolanmiu/docx/master/demo/demo2.js ':include')
Source: https://github.com/dolanmiu/docx/blob/master/demo/demo2.js
## Styles
This example shows how to customise the look and feel of a document using JS configuration
[Simple Example](https://raw.githubusercontent.com/dolanmiu/docx/master/demo/demo3.js ':include')
Source: https://github.com/dolanmiu/docx/blob/master/demo/demo3.js
## Table
Example of simple table
[Simple Example](https://raw.githubusercontent.com/dolanmiu/docx/master/demo/demo4.js ':include')
Source: https://github.com/dolanmiu/docx/blob/master/demo/demo4.js