From 0f16eb8726c13ebdd7defdb57adc773a1198db64 Mon Sep 17 00:00:00 2001 From: Daniel Ferguson Date: Tue, 26 Mar 2019 03:24:51 -0600 Subject: [PATCH] Line numbers: Fixed typo on webpage (#1838) This corrects a small typo on line number's webpage. --- plugins/line-numbers/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/line-numbers/index.html b/plugins/line-numbers/index.html index 9091fa21f4..05850b0fbc 100644 --- a/plugins/line-numbers/index.html +++ b/plugins/line-numbers/index.html @@ -27,7 +27,7 @@

Line Numbers

How to use

Obviously, this is supposed to work only for code blocks (<pre><code>) and not for inline code.

-

Add the line-numbers class to your desired <pre> or any of its ancestors, and the line-numbers plugin will take care of the rest. To given all code blocks line numbers, add the line-numbers class to the <body> of the page.

+

Add the line-numbers class to your desired <pre> or any of its ancestors, and the line-numbers plugin will take care of the rest. To give all code blocks line numbers, add the line-numbers class to the <body> of the page.

Optional: You can specify the data-start (Number) attribute on the <pre> element. It will shift the line counter.

Optional: To support multiline line numbers using soft wrap, apply the CSS white-space: pre-line; or white-space: pre-wrap; to your desired <pre>.