Пример #1
0
        public virtual StringBuffer Render(MarkdownEngine engine, GfmDelInlineToken token, MarkdownInlineContext context)
        {
            var result = (StringBuffer)"<del>";

            result += engine.Mark(token.Content);
            result += "</del>";
            return(result);
        }
Пример #2
0
        public virtual StringBuffer Render(IMarkdownRenderer renderer, GfmDelInlineToken token, MarkdownInlineContext context)
        {
            var childContent = StringBuffer.Empty;

            foreach (var item in token.Content)
            {
                childContent += renderer.Render(item);
            }
            return(Insert(token, ExposeTokenName(token), childContent));
        }
Пример #3
0
        public virtual StringBuffer Render(IMarkdownRenderer renderer, GfmDelInlineToken token, MarkdownInlineContext context)
        {
            var childContent = StringBuffer.Empty;

            foreach (var item in token.Content)
            {
                childContent += renderer.Render(item);
            }
            return(this.Insert("Del", childContent, Type.NonLeaf));
        }
Пример #4
0
        public virtual StringBuffer Render(IMarkdownRenderer renderer, GfmDelInlineToken token, MarkdownInlineContext context)
        {
            var result = (StringBuffer)"<del>";

            foreach (var item in token.Content)
            {
                result += renderer.Render(item);
            }
            result += "</del>";
            return(result);
        }
Пример #5
0
 public virtual StringBuffer Render(IMarkdownRenderer render, GfmDelInlineToken token, MarkdownInlineContext context)
 {
     StringBuffer content = StringBuffer.Empty;
     content += "~~";
     foreach(var t in token.Content)
     {
         content += render.Render(t);
     }
     content += "~~";
     return content;
 }
Пример #6
0
        public virtual StringBuffer Render(IMarkdownRenderer render, GfmDelInlineToken token, MarkdownInlineContext context)
        {
            StringBuffer content = StringBuffer.Empty;

            content += "~~";
            foreach (var t in token.Content)
            {
                content += render.Render(t);
            }
            content += "~~";
            return(content);
        }
Пример #7
0
 public virtual StringBuffer Render(IMarkdownRenderer engine, GfmDelInlineToken token, MarkdownInlineContext context)
 {
     var result = (StringBuffer)"<del>";
     foreach (var item in token.Content)
     {
         result += engine.Render(item);
     }
     result += "</del>";
     return result;
 }
Пример #8
0
 public virtual StringBuffer Render(MarkdownEngine engine, GfmDelInlineToken token, MarkdownInlineContext context)
 {
     var result = (StringBuffer)"<del>";
     result += engine.Mark(token.Content);
     result += "</del>";
     return result;
 }