Esempio n. 1
0
        /// <inheritdoc/>
        protected override void Write(MamlRenderer renderer, LiteralInline obj)
        {
            if (obj.Content.IsEmpty)
            {
                return;
            }

            renderer.WriteEscape(obj.Content.ToString());
        }
Esempio n. 2
0
 protected override void Write(MamlRenderer renderer, CodeInline obj)
 {
     renderer.Push(MamlElements.codeInline);
     renderer.WriteEscape(obj.Content);
     renderer.PopTo(MamlElements.codeInline);
 }
Esempio n. 3
0
 protected override void Write(MamlRenderer renderer, HtmlEntityInline obj)
 {
     renderer.WriteEscape(obj.Transcoded);
 }
Esempio n. 4
0
 protected override void Write(MamlRenderer renderer, DelimiterInline obj)
 {
     renderer.WriteEscape(obj.ToLiteral());
     renderer.WriteChildren(obj);
 }