Project

General

Profile

$boldify » History » Version 4

Per Amundsen, 03/08/2017 09:27 PM

1 1 Per Amundsen
_Added in 2.8_
2
3
*$boldify*
4
5 2 Per Amundsen
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]].
6 1 Per Amundsen
7
---
8
9
*$boldify(text)*
10
11 4 Per Amundsen
Returns text surrounded by [[Formatting_text#Boldchar|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.
12 1 Per Amundsen
13
*Parameters*
14
15 3 Per Amundsen
text - The text to boldify.
16 1 Per Amundsen
17
*Example*
18
19
<pre>
20
//echo -ag $boldify(I am bold)
21
</pre>