I would like to define custom directives, that would enable me to write code like e.g. this:
Print.printf "regular %bold_on bold %bold_off regular %italic_on italic %italic_off";
[...]
Can somebody give me some advice how to create simple "parameterless format directives" (like those above)?