dm_html_heading Function

public pure function dm_html_heading(level, str, small) result(html)

Returns HTML heading of given level level and string str, with optional <small> child in small.

Valid levels are 1, 2, 3, and 4. Any other is replaced by level 1.

All input data will be trimmed and encoded.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: level

Heading level.

character(len=*), intent(in) :: str

Heading string.

character(len=*), intent(in), optional :: small

Sub-heading string.

Return Value character(len=:), allocatable

Generated HTML.


Calls

proc~~dm_html_heading~~CallsGraph proc~dm_html_heading dm_html_heading proc~dm_html_encode dm_html_encode proc~dm_html_heading->proc~dm_html_encode proc~dm_html_small dm_html_small proc~dm_html_heading->proc~dm_html_small proc~dm_html_small->proc~dm_html_encode

Called by

proc~~dm_html_heading~~CalledByGraph proc~dm_html_heading dm_html_heading proc~dm_html_header dm_html_header proc~dm_html_header->proc~dm_html_heading proc~dm_html_observ dm_html_observ proc~dm_html_observ->proc~dm_html_heading