Project

General

Profile

$boldify » History » Revision 4

Revision 3 (Per Amundsen, 03/08/2017 09:26 PM) → Revision 4/5 (Per Amundsen, 03/08/2017 09:27 PM)

_Added in 2.8_ 

 *$boldify* 

 Returns [[$true]] if [[Options Dialog|Options]] -> [[Messages Options|Messages]] -> [[Messages_Options#Make-certain-part-of-messages-bold|Make certain part of messages bold]] is enabled, otherwise [[$false]]. 

 --- 

 *$boldify(text)* 

 Returns text surrounded by [[Formatting_text#Boldchar|bold [[Formatting text|bold character]] if [[Options Dialog|Options]] -> [[Messages Options|Messages]] -> [[Messages_Options#Make-certain-part-of-messages-bold|Make certain part of messages bold]] is enabled, otherwise returns the text. 

 *Parameters* 

 text - The text to boldify. 

 *Example* 

 <pre> 
 //echo -ag $boldify(I am bold) 
 </pre>