article.prologue do |custom| custom.for :html, 'HTTP prologue' custom.for :gemtext, 'Gemtext prolofue' end article.annotation do |annotation| annotation.paragraph do |paragraph| paragraph.text 'Annotation paragraph text' end end article.blockquote do |blockquote| blockquote.paragraph do |paragraph| paragraph.text 'Blockquote paragraph text' end blockquote.caption do |caption| caption.text 'Blockquote caption text' end end article.code_block :ruby, <<~CODE [[:foo, 1], [:bar, 2], [:car, 3]].each do |str, num| puts str puts num**2 end CODE article.iframe 'Example.com', 'https://example.com' article.nice_figure 'foo.jpg', 'The Foo' article.nice_figures do |figures| figures.figure 'qwe.jpg', 'The Qwe' figures.figure 'rty.jpg', 'The Rty' end article.chapter 'Chapter 1' do |chapter| chapter.paragraph do |paragraph| paragraph.text 'Chapter 1 paragraph text' end end article.chapter 'Chapter 2' do |chapter| chapter.paragraph do |paragraph| paragraph.text 'Chapter 2 paragraph text' end end article.epilogue do |custom| custom.for :html, 'HTTP epilogue' custom.for :gemtext, 'Gemtext epilogue' end