Exemplo n.º 1
0
 public virtual StringBuffer Render(IMarkdownRenderer engine, DfmYamlHeaderBlockToken token, MarkdownBlockContext context)
 {
     var content = token.Content == null ? string.Empty : StringHelper.HtmlEncode(token.Content);
     return $"<yamlheader>{content}</yamlheader>";
 }
Exemplo n.º 2
0
        public virtual StringBuffer Render(IMarkdownRenderer engine, DfmYamlHeaderBlockToken token, MarkdownBlockContext context)
        {
            var content = token.Content == null ? string.Empty : StringHelper.HtmlEncode(token.Content);

            return($"<yamlheader>{content}</yamlheader>");
        }