Skip to content

Commit c2033c9

Browse files
javiereguiluzxabbuh
authored andcommitted
Minor reword
1 parent f67762d commit c2033c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reference/twig_reference.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,9 @@ file_excerpt
604604
``srcContext`` *(optional)*
605605
**type**: ``integer``
606606

607-
Generates an excerpt of a code file around the given ``line`` number. An optional number of displayed lines can be passed.
607+
Generates an excerpt of a code file around the given ``line`` number. The
608+
``srcContext`` argument defines the total number of lines to display around the
609+
given line number (use ``-1`` to display the whole file).
608610

609611
format_file
610612
~~~~~~~~~~~

0 commit comments

Comments
 (0)