From 321969eb85761d6d3c99d3a7db79d8b9193d0e4f Mon Sep 17 00:00:00 2001 From: Hunter Wilhelm Date: Mon, 26 Sep 2022 10:22:32 -0600 Subject: [PATCH 1/2] Added the name horizontal line or horizontal rules There was some confusion in https://github.com/dolanmiu/docx/issues/437 because the docs don't mention anything called horizontal lines or horizontal rules. Microsoft calls them by that name here https://support.microsoft.com/en-us/office/insert-a-line-9bf172f6-5908-4791-9bb9-2c952197b1a9 This will make it easier for people to find this in the docs. --- docs/usage/paragraph.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/paragraph.md b/docs/usage/paragraph.md index 42658f6cca..750539d7b9 100644 --- a/docs/usage/paragraph.md +++ b/docs/usage/paragraph.md @@ -111,7 +111,7 @@ const paragraph = new Paragraph({ ## Border -Add borders to a `Paragraph`. Good for making the `Paragraph` stand out +Add borders to a `Paragraph`. Good for making the `Paragraph` stand out. Also called horizontal lines or horizontal rules. #### IBorderPropertyOptions From 8b165e93e1f5c54a6862a17d7a7d9adb95308d35 Mon Sep 17 00:00:00 2001 From: Hunter Wilhelm Date: Wed, 28 Sep 2022 09:19:18 -0600 Subject: [PATCH 2/2] Specify which borders could look like a
--- docs/usage/paragraph.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/paragraph.md b/docs/usage/paragraph.md index 750539d7b9..29356854d9 100644 --- a/docs/usage/paragraph.md +++ b/docs/usage/paragraph.md @@ -111,7 +111,7 @@ const paragraph = new Paragraph({ ## Border -Add borders to a `Paragraph`. Good for making the `Paragraph` stand out. Also called horizontal lines or horizontal rules. +Add borders to a `Paragraph`. Good for making the `Paragraph` stand out. Border top and border bottom can be used as a horizontal rule (also known as horizontal line). #### IBorderPropertyOptions