modulefdoc_highlight
Syntax highlighting of Fortran, from fformat's tokens. Classes: k keywords and intrinsics,
c comments, d doc comments, s strings, n numbers, p preprocessor lines.
Uses
- ffmt_tokens
- ffmt_lexer
- fdoc_buffer
- fdoc_util
- fdoc_intrinsics
Graphs
Uses
Used by
Subroutines
highlight_fortran
subroutine highlight_fortran(code, out, line_anchors)
Write code as highlighted HTML. With line_anchors, each line starts with an anchor ln-N.