subroutineline_startprivate
subroutine line_start(out, line)
Write the anchor of line line.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| out | type(buffer_t) | inout | the HTML | |
| line | integer | in | the line |
Calls
Source
Show the code
subroutine line_start(out, line)
type(buffer_t), intent(inout) :: out !! the HTML
integer, intent(in) :: line !! the line
character(len=12) :: number
number = int_text(line)
call add(out, '<a class="ln" id="ln-'//trim(number)//'" href="#ln-'//trim(number)//'"></a>')
end subroutine line_start