From 1f30d6bf78e0daf56c2779f3cafc6b8b90155d44 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill <pmarsceill@users.noreply.github.com> Date: Mon, 14 Sep 2020 13:29:09 -0400 Subject: [PATCH] Update line-nos.md --- docs/ui-components/line-nos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ui-components/line-nos.md b/docs/ui-components/line-nos.md index f9aca667..1baa3da9 100644 --- a/docs/ui-components/line-nos.md +++ b/docs/ui-components/line-nos.md @@ -47,7 +47,7 @@ needs to be wrapped using one of the following workarounds. (The variable name `some_var` can be changed to avoid clashes; it can also be replaced by `code` -- but note that `code=code` cannot be removed). -### Code fences +### Code fences (three backticks) {% highlight default %} {% raw %}{% capture some_var %} @@ -76,7 +76,7 @@ Dmitry Hrabrov at ## Examples -✅ Using code fences + workaround: +✅ Using code fences + workaround (will only show line numbers if enabled globally in `_config.yml`): {% capture code_fence %} ```js -- GitLab