Пример #1
0
 protected override string Visit(BoldText boldText)
 => "**" + boldText.Text + "**";
Пример #2
0
 protected override string Visit(BoldText boldText)
 => "<b>" + boldText.Text + "</b>";
Пример #3
0
 protected abstract string Visit(BoldText boldText);
Пример #4
0
 protected override string Visit(BoldText boldText)
 => "\\textbf{" + boldText.Text + "}";