Exemplo n.º 1
0
        public void Can_translate_links()
        {
            var markdown = "[test](link.html)";

            var result = _markdownRenderer.TransformLinks(markdown, link => Helpers.ResolvePathPart("/test", link));

            Assert.Equal("[test](/test/link.html)", result);
        }