Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
lower context in file excerpt to 5 lines
  • Loading branch information
sustmi committed Jun 4, 2017
commit 0173d228653270cea86bdb2cc70703a5460c7705
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
{% if trace.file|default(false) %}
<div id="trace-html-{{ prefix ~ '-' ~ i }}" class="trace-code sf-toggle-content">
{{ trace.file|file_excerpt(trace.line, 10)|replace({
{{ trace.file|file_excerpt(trace.line, 5)|replace({
'#DD0000': '#183691',
'#007700': '#a71d5d',
'#0000BB': '#222222',
Expand Down