Changede in-document code template to be a div instead, reflecting that it is meant to be a code block, not a in-line string of monespace type.
added <figure> around table as well, removed top and bottom margins from table.
Added css-rules so the margin-top of paragraphs are cancelled for empty parapgraphs AND paragraphs that follows empty paragraphs.