예제 #1
0
        private string Render(IParser textParse)
        {
            var render = new RenderMdToHtml(new DetectorTextDirection(),
                                            new ConverterMdSelectionsToHtmlData());

            while (textParse.AnyParts())
            {
                render.AddNextPart(textParse.GetNextPart());
            }
            RaiseIfTextParseDidNotSendEndText(render);
            return(render.GetTranslatedText());
        }