protected override void Write(SpeeDataRenderer renderer, CodeBlock obj) { renderer.WriteStartParagraph(); //if (obj is FencedCodeBlock f) // f.Info; renderer.WriteItems(obj, true); renderer.WriteEndParagraph(); }
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(); }
protected override void Write(SpeeDataRenderer renderer, ParagraphBlock paragraph) { renderer.WriteStartParagraph(); renderer.WriteItems(paragraph); renderer.WriteEndParagraph(); }
protected override void Write(SpeeDataRenderer renderer, QuoteBlock block) { renderer.WriteStartParagraph(); renderer.WriteItems(block); renderer.WriteEndParagraph(); }