Beispiel #1
0
        public virtual StringBuffer Render(MarkdownEngine engine, MarkdownStrongInlineToken token, MarkdownInlineContext context)
        {
            var result = (StringBuffer)"<strong>";

            result += engine.Mark(token.Content);
            result += "</strong>";
            return(result);
        }
Beispiel #2
0
        public virtual StringBuffer Render(IMarkdownRenderer renderer, MarkdownStrongInlineToken token, MarkdownInlineContext context)
        {
            var childContent = StringBuffer.Empty;

            foreach (var item in token.Content)
            {
                childContent += renderer.Render(item);
            }
            return(Insert(token, ExposeTokenName(token), childContent));
        }
        public virtual StringBuffer Render(IMarkdownRenderer renderer, MarkdownStrongInlineToken token, MarkdownInlineContext context)
        {
            var childContent = StringBuffer.Empty;

            foreach (var item in token.Content)
            {
                childContent += renderer.Render(item);
            }
            return(this.Insert("Strong", childContent, Type.NonLeaf));
        }
Beispiel #4
0
        public virtual StringBuffer Render(IMarkdownRenderer renderer, MarkdownStrongInlineToken token, MarkdownInlineContext context)
        {
            var result = (StringBuffer)"<strong>";

            foreach (var item in token.Content)
            {
                result += renderer.Render(item);
            }
            result += "</strong>";
            return(result);
        }
Beispiel #5
0
 public virtual StringBuffer Render(IMarkdownRenderer render, MarkdownStrongInlineToken token, MarkdownInlineContext context)
 {
     StringBuffer content = StringBuffer.Empty;
     content += "**";
     foreach (var t in token.Content)
     {
         content += render.Render(t);
     }
     content += "**";
     return content;
 }
Beispiel #6
0
        public virtual StringBuffer Render(IMarkdownRenderer render, MarkdownStrongInlineToken token, MarkdownInlineContext context)
        {
            StringBuffer content = StringBuffer.Empty;

            content += "**";
            foreach (var t in token.Content)
            {
                content += render.Render(t);
            }
            content += "**";
            return(content);
        }
Beispiel #7
0
 public virtual StringBuffer Render(IMarkdownRenderer engine, MarkdownStrongInlineToken token, MarkdownInlineContext context)
 {
     var result = (StringBuffer)"<strong>";
     foreach (var item in token.Content)
     {
         result += engine.Render(item);
     }
     result += "</strong>";
     return result;
 }
Beispiel #8
0
 public virtual StringBuffer Render(MarkdownEngine engine, MarkdownStrongInlineToken token, MarkdownInlineContext context)
 {
     var result = (StringBuffer)"<strong>";
     result += engine.Mark(token.Content);
     result += "</strong>";
     return result;
 }