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

visit, #visit