Styling title to custom headings instead of the default '###'
thsaravana opened this issue ยท 1 comments
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 - Also test if back-ticks works in the
title
well.
Back-Ticks works even in the current version. Only thing is we can't do
title:
Coverage Report
instead it should be
title: '
Coverage Report
'
We have to wrap the back-ticks within single-quotes