···
{{ $lines := split .Contents }}
{{ $tot_lines := len $lines }}
{{ $tot_chars := len (printf "%d" $tot_lines) }}
7
-
{{ $code_number_style := "text-gray-400 left-0 bg-white text-right mr-6 select-none" }}
7
+
{{ $code_number_style := "text-gray-400 left-0 bg-white text-right mr-6 select-none inline-block w-12" }}
{{ $linkstyle := "no-underline hover:underline" }}
<div class="pb-2 text-base">
<div class="flex justify-between">
···
This is a binary file and will not be displayed.
39
-
<div class="overflow-auto relative text-ellipsis">
40
-
{{ range $idx, $line := $lines }}
41
-
{{ $linenr := add $idx 1 }}
43
-
<a href="#L{{ $linenr }}" id="L{{ $linenr }}" class="no-underline peer">
44
-
<span class="{{ $code_number_style }}"
45
-
style="min-width: {{ $tot_chars }}ch;" >
49
-
<div class="whitespace-pre peer-target:bg-yellow-200">{{ $line | escapeHtml }}</div>
39
+
<div class="overflow-auto relative text-ellipsis">
40
+
{{ range $idx, $line := $lines }}
41
+
{{ $linenr := add $idx 1 }}
43
+
<a href="#L{{ $linenr }}" id="L{{ $linenr }}" class="no-underline peer">
44
+
<span class="{{ $code_number_style }}"
45
+
style="min-width: {{ $tot_chars }}ch;">
49
+
<div class="whitespace-pre peer-target:bg-yellow-200">{{ $line | escapeHtml }}</div>