Class: Coradoc::Markdown::Image

Inherits:
Base
  • Object
show all
Defined in:
lib/coradoc/markdown/model/image.rb

Overview

Image model representing a Markdown image ![alt](src).

Examples:

Create an image

img = Coradoc::Markdown::Image.new(
  alt: "Logo",
  src: "/images/logo.png"
)

Method Summary

Methods inherited from Base

#serialize_content, #to_h, #to_md, visit, #visit