Class: Papercraft::HTMLRenderer

Inherits:
Renderer
  • Object
show all
Includes:
HTML
Defined in:
lib/papercraft/renderer.rb

Overview

Implements an HTML renderer

Constant Summary

Constants included from HTML

Papercraft::HTML::S_HTML5_DOCTYPE

Constants included from Tags

Tags::INITIAL_BUFFER_CAPACITY, Tags::S_EQUAL_QUOTE, Tags::S_GT, Tags::S_GT_LT_SLASH, Tags::S_LT, Tags::S_LT_SLASH, Tags::S_QUOTE, Tags::S_SLASH_GT, Tags::S_SPACE, Tags::S_SPACE_LT_SLASH, Tags::S_TAG_METHOD, Tags::S_TAG_METHOD_LINE, Tags::S_VOID_TAG_METHOD, Tags::S_VOID_TAG_METHOD_LINE

Method Summary

Methods included from HTML

#emit_markdown, #html5, #import_map, #js_module, #link_stylesheet, #p, #script, #style, #versioned_file_href

Methods included from Tags

#def_tag, #defer, #extend, #initialize, #method_missing, #orig_extend, #tag, #text, #to_s

Methods inherited from Renderer

#emit, #emit_yield, extension, #fragment, #initialize, verify_proc_parameters

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Papercraft::Tags