Class: Paru::PandocFilter::Image

Inherits:
Link show all
Defined in:
lib/paru/filter/image.rb

Overview

An Image has an attribute object, a caption, and a target

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Paru::PandocFilter::Link

Instance Method Details

#can_act_as_both_block_and_inline?Boolean

Although Image is defined to be inline, probably because in HTML it can be an inline element, often it acts like a block element.

Returns:

  • (Boolean)

    true



29
30
31
# File 'lib/paru/filter/image.rb', line 29

def can_act_as_both_block_and_inline?
    true
end