multiline markdown and accompanying refactor