Format and colorize a string heading of level 1 for console output.

Default style is yellow and bold.

Property definitions

nitc :: metrics_base $ ToolContext :: format_h1
	# Format and colorize a string heading of level 1 for console output.
	#
	# Default style is yellow and bold.
	fun format_h1(str: String): String do
		if opt_nocolors.value then return str
		return str.yellow.bold
	end
src/metrics/metrics_base.nit:103,2--109,4