From 20b793620a015fdaeabeeb8643adf114271b4b12 Mon Sep 17 00:00:00 2001 From: Dolan Date: Tue, 25 Oct 2022 19:03:48 +0100 Subject: [PATCH] #1720 - Update demo 2 to show underline and strike used together --- demo/2-declaritive-styles.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/demo/2-declaritive-styles.ts b/demo/2-declaritive-styles.ts index 11e306b07e..88596bf1a3 100644 --- a/demo/2-declaritive-styles.ts +++ b/demo/2-declaritive-styles.ts @@ -182,6 +182,17 @@ const doc = new Document({ }), ], }), + new Paragraph({ + children: [ + new TextRun({ + strike: true, + underline: { + type: UnderlineType.SINGLE, + }, + text: "Underline and Strike", + }), + ], + }), ], }, ],