public ExtensibleHtmlFormatter WithFormatter(InlineTag inlineTag, Func <Inline, bool> canFormat, Func <Inline, string> openingFormatter, Func <Inline, string> closingFormatter) { this.inlineFormatters.Add(inlineTag, InlineFormatter.Create(canFormat, openingFormatter, closingFormatter)); return(this); }
public ExtensibleHtmlFormatter WithFormatter(InlineTag inlineTag, Func <Inline, string> formatter) { this.inlineFormatters.Add(inlineTag, InlineFormatter.Create(formatter)); return(this); }