Skip to content

Commit

Permalink
Fix markdown output (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco committed Jun 19, 2023
1 parent 25cdc96 commit 45bc5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverxygen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def output_print_markdown_summary(stream, symbols):
# Render the table
first_column_width = max(Coverxygen.determine_first_column_width(symbol_kind_counts_list), 8)
stream.write(f'| {"Element".ljust(first_column_width)} | {"Value".ljust(second_column_width)} |\n')
stream.write(f'|{"-".ljust(first_column_width+2)}|{" ".ljust(second_column_width+2)}|\n')
stream.write(f'|{"-"*(first_column_width+2)}|{"-"*(second_column_width+2)}|\n')
for symbol_kind_count in symbol_kind_counts_list:
stream.write(f'| {symbol_kind_count["kind"].ljust(first_column_width)} | {symbol_kind_count["value_string"].ljust(second_column_width)} |\n')

Expand Down

0 comments on commit 45bc5e5

Please sign in to comment.