Example #1
0
 public virtual StringBuffer Render(IMarkdownRenderer engine, DfmIncludeInlineToken token, MarkdownInlineContext context)
 {
     var resolved = _inlineInclusionHelper.Load(engine, token.Src, token.Raw, context, ((DfmEngine)engine.Engine).InternalMarkup);
     return resolved;
 }
Example #2
0
 public virtual StringBuffer Render(IMarkdownRenderer render, DfmIncludeInlineToken token, MarkdownInlineContext context)
 {
     return string.IsNullOrEmpty(token.Title)
             ? $"[!INCLUDE [{token.Name}]({token.Src})]"
             : $"[!INCLUDE [{token.Name}]({token.Src} \"{token.Title}\")]";
 }
Example #3
0
        public virtual StringBuffer Render(IMarkdownRenderer engine, DfmIncludeInlineToken token, MarkdownInlineContext context)
        {
            var resolved = _inlineInclusionHelper.Load(engine, token.Src, token.Raw, context, ((DfmEngine)engine.Engine).InternalMarkup);

            return(resolved);
        }