protected override void Write(AdfRenderer renderer, ParagraphBlock obj) { var paragraph = new ParagraphNode(); renderer.Push(paragraph); renderer.WriteLeafInline(obj); renderer.Pop(); }
protected override void Write(AdfRenderer renderer, HeadingBlock obj) { var heading = new HeadingNode(obj.Level); renderer.Push(heading); renderer.WriteLeafInline(obj); renderer.Pop(); }