public virtual void WriteArgument(CommandArgument argument) { _writer.WriteStartBold(); _writer.WriteInlineCode((!string.IsNullOrEmpty(argument.Name)) ? argument.Name : $"<{argument.Index}>"); _writer.WriteEndBold(); _writer.WriteLine(); _writer.WriteLine(); if (!string.IsNullOrEmpty(argument.Description)) { _writer.WriteString(argument.Description); _writer.WriteLine(); _writer.WriteLine(); } }
protected override void WriteDefinitionName(ISymbol symbol, SymbolDisplayFormat format = null) { DocumentationUrlInfo urlInfo = _urlProvider.GetExternalUrl(symbol); if (urlInfo.Url != null) { WriteContainingNamespaceInTypeHierarchy(symbol); _writer.WriteStartBold(); _writer.WriteLink(symbol.ToDisplayString(format ?? GetDefinitionNameFormat(symbol)), urlInfo.Url); _writer.WriteEndBold(); } else { _writer.WriteStartBold(); base.WriteDefinitionName(symbol, format); _writer.WriteEndBold(); } }
public override void WriteEndBold() => _writer.WriteEndBold();
public override void WriteTo(MarkdownWriter writer) { writer.WriteStartBold(); WriteContentTo(writer); writer.WriteEndBold(); }