From 8c58ec2ba47efa5928d18089603ee2e847c264d9 Mon Sep 17 00:00:00 2001 From: Dolan Date: Mon, 13 Mar 2017 00:54:05 +0000 Subject: [PATCH] moved bullet points to Wiki --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c24059730f..75a5919603 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ - [Underline](#) - [Break](#) - [Chaining](#) - - [Bullet Points](#) - [Exporting](#) - [Express](#) - [Standalone .docx file](#) @@ -53,6 +52,9 @@ $ npm run demo will run the demo app in the `demo` folder, which creates a file called "My Document.docx" in the root of the project +# Guide + +Please refer to [the Wiki](https://github.com/dolanmiu/docx/wiki) for details on how to use this library, examples and much more! # Usage @@ -243,22 +245,6 @@ What if you want to create a paragraph which is ***bold*** and ***italic***? paragraph.bold().italic(); ``` -## Bullet Points -To make a bullet point, simply make a paragraph into a bullet point: -```js -var text = new docx.TextRun("Bullet points"); -var paragraph = new docx.Paragraph(text).bullet(); - -var text2 = new docx.TextRun("Are awesome"); -var paragraph2 = new docx.Paragraph(text2).bullet(); - -doc.addParagraph(paragraph); -doc.addParagraph(paragraph2); -``` -This will produce: -* Bullet points -* Are awesome - # Exporting Check the Wiki for exporting guide