Example #1
0
 protected override void Write(SpeeDataRenderer renderer, CodeBlock obj)
 {
     renderer.WriteStartParagraph();
     //if (obj is FencedCodeBlock f)
     //    f.Info;
     renderer.WriteItems(obj, true);
     renderer.WriteEndParagraph();
 }
Example #2
0
 protected override void Write(SpeeDataRenderer renderer, HeadingBlock headingBlock)
 {
     renderer.WriteStartParagraph();
     renderer.WriteStartElement("Fontface");
     renderer.WriteAttribute("fontfamily", headingBlock.Level <= 1 ? "head1" : "head2");
     renderer.WriteStartElement("B");
     renderer.WriteItems(headingBlock);
     renderer.WriteEndElement();
     renderer.WriteEndElement();
     renderer.WriteEndParagraph();
 }
Example #3
0
 protected override void Write(SpeeDataRenderer renderer, ParagraphBlock paragraph)
 {
     renderer.WriteStartParagraph();
     renderer.WriteItems(paragraph);
     renderer.WriteEndParagraph();
 }
Example #4
0
 protected override void Write(SpeeDataRenderer renderer, QuoteBlock block)
 {
     renderer.WriteStartParagraph();
     renderer.WriteItems(block);
     renderer.WriteEndParagraph();
 }