How Do You Get Bitbucket to Render Text in a Regular Size when There Are Hashtag (or Hashmarks, “#”)?

Problem scenario
Bitbucket's GUI renders Bash code with large text on lines with a "#" hash sign (aka tic-tac-toe sign, number sign, or hash symbol). How do you get the lines to be the same size in Bitbucket GUI rendering?

Solution
Usually the hash sign "#" is a comment (for many programming languages). If you have a space after the hash sign like this "# comments here" (instead of "#comments here"), it should look fine. Often having a space after the hash sign introduces no problems if comments follow.

Leave a comment

Your email address will not be published. Required fields are marked *