Ejemplo n.º 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;
 }
Ejemplo n.º 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}\")]";
 }
Ejemplo n.º 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);
        }