Added keyValue helper function

This helper function can be called to avoid writing lengthy code blocks
for simple data checks.
Adjusted code block layout
Added html ouput

In case we want to add a heading / text block the html type can be used.
Adjusted formatting