public void Export_ReturnCorrectHtml_OnBoldElement() { const string text = "baz"; var italic = new MarkdownBoldElement(LexemeDefinitions.Bold.Representation); italic.ChildNodes.Add(new Text(text)); var html = italic.Export(new HtmlExporter()); html.Should().Be($"<strong>{text}</strong>"); }
public string TransformBold(MarkdownBoldElement element) { return(TransformBlock(element, "strong")); }