Skip to content

Commit 2b397d4

Browse files
committed
fix: add code line numbers
1 parent 11dea7f commit 2b397d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ format:
4545

4646
## Code annotation
4747

48-
```{.python}
48+
```{.python code-line-numbers="1-7|1|3|4|1-7"}
4949
import numpy as np # <1>
5050
5151
def f(x): # <2>

0 commit comments

Comments
 (0)