Fix rubocop warning 'TrailingComma' in to_markdown_heading