Skip to content

Commit

Permalink
変更
Browse files Browse the repository at this point in the history
  • Loading branch information
jageishi committed Aug 19, 2021
1 parent 17e6c04 commit 7c27f1c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ fail("fail", file: "Dangerfile", line: 14)

markdown("## h2")
markdown("### h3")
markdown("|テーブル|")
markdown("| --- |")
markdown("| aaa |")
markdown("| bbb |")
markdown("| ccc |")

table_header = "|テーブル|\n| --- |\n"
table_body = ["aaa", "bbb", "ccc"].map { |s| "| #{s} |\n"}.join
markdown(table_header + table_body)

0 comments on commit 7c27f1c

Please sign in to comment.