Project

General

Profile

$boldify » History » Version 2

Per Amundsen, 03/08/2017 09:25 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 2 Per Amundsen
Returns text surrounded by [[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.
12 1 Per Amundsen
13
*Parameters*
14
15
text - The text to boldify
16
17
*Example*
18
19
<pre>
20
//echo -ag $boldify(I am bold)
21
</pre>