fdoc

subroutineline_startprivate

subroutine line_start(out, line)

Write the anchor of line line.

Arguments

NameTypeIntentAttributesDescription
outtype(buffer_t)inout

the HTML

lineintegerin

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

Graphs

Calls

Called by