When we add the title input, we render that as H3 by prefixing ###.
when title = Coverage Report
Coverage Report
when title = 🧟 Coverage Report
🧟 Coverage Report
But I believe we can actually give this 'styling' control to the users who want Bigger or Smaller titles. If we do # or ## then we get the Horizontal line separator. This could be something that the users want. Or when they wanted to use an emoji in the title, but it's too small in the H3 styling.
when title = 🧟 Coverage Report
🧟 Coverage Report
🧟 Coverage Report
🧟 Coverage Report
🧟 Coverage Report
🧟 Coverage Report
🧟 Coverage Report
🧟 Coverage Report
So, if the title starts with # then let's not append the default ###.
Things to test:
Check if the update-comment works fine in this case
When we add the
title
input, we render that as H3 by prefixing###
.when
title
= Coverage Reportwhen
title
= 🧟 Coverage ReportBut I believe we can actually give this 'styling' control to the users who want Bigger or Smaller titles. If we do # or ## then we get the Horizontal line separator. This could be something that the users want. Or when they wanted to use an emoji in the title, but it's too small in the H3 styling.
when
title
= 🧟 Coverage ReportSo, if the
title
starts with#
then let's not append the default###
.Things to test:
update-comment
works fine in this casetitle
well.