- (String) css_image_sizes

This helper provides CSS for every image in your project. Each image will have a declaration that sets max-width and max-height to the actual size of the image. Proper @2x image support is included. It’s most useful to use this helper in a some_file.css.erb file.

Returns:

  • (String)

    Returns a string with the CSS markup for every image found in your project.

- (String) md_images

This helper provides access to middlemac-extras’ index of images in Markdown reference format, enabling you to use reference-style images in documents. Because this helper includes literal Markdown, it’s only useful in Markdown documents.

Returns:

  • (String)

    Returns a string with the Markdown index of every image in your project.

This helper provides access to middlemac-extras’ index of links in Markdown reference format, enabling you to use reference-style links in documents. Because this helper includes literal Markdown, it’s only useful in Markdown documents.

Returns:

  • (String)

    Returns a string with the Markdown index of every page in your project.