Esempio 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>";
 }
Esempio 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>");
        }