1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 08:07:11 -05:00

Update line-nos.md

This commit is contained in:
Patrick Marsceill 2020-09-14 13:29:09 -04:00 committed by GitHub
parent 916a9256b1
commit 1f30d6bf78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
## 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