private Markdown GetSetupMarkdown() { var toReturn = new Markdown(); toReturn.AddLinkDefinition(new LinkDefinition("link1", "url.com", "title")); toReturn.AddLinkDefinition(new LinkDefinition("link2", "url.com")); toReturn.AddLinkDefinition(new LinkDefinition("img1", "url.com/image.png", "title")); toReturn.AddLinkDefinition(new LinkDefinition("img2", "url.com/image.png")); return(toReturn); }
public void SetUp() { m = new Markdown(); m.AddLinkDefinition(new LinkDefinition("link1", "url.com", "title")); m.AddLinkDefinition(new LinkDefinition("link2", "url.com")); m.AddLinkDefinition(new LinkDefinition("img1", "url.com/image.png", "title")); m.AddLinkDefinition(new LinkDefinition("img2", "url.com/image.png")); s = new SpanFormatter(m); }