Project

General

Profile

$boldify » History » Version 5

Per Amundsen, 02/16/2023 09:10 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 5 Per Amundsen
table(ktable).
16
|*Parameter*|*Description*|
17
| text | The text to boldify. |
18 1 Per Amundsen
19
*Example*
20
21
<pre>
22
//echo -ag $boldify(I am bold)
23
</pre>