Skip to content
Snippets Groups Projects
Unverified Commit 1f30d6bf authored by Patrick Marsceill's avatar Patrick Marsceill Committed by GitHub
Browse files

Update line-nos.md

parent 916a9256
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ needs to be wrapped using one of the following workarounds. ...@@ -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 (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). be replaced by `code` -- but note that `code=code` cannot be removed).
### Code fences ### Code fences (three backticks)
{% highlight default %} {% highlight default %}
{% raw %}{% capture some_var %} {% raw %}{% capture some_var %}
...@@ -76,7 +76,7 @@ Dmitry Hrabrov at ...@@ -76,7 +76,7 @@ Dmitry Hrabrov at
## Examples ## Examples
✅ Using code fences + workaround: ✅ Using code fences + workaround (will only show line numbers if enabled globally in `_config.yml`):
{% capture code_fence %} {% capture code_fence %}
```js ```js
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment