Skip to content

Releases: uncompiled/ascii-image

ES module support

20 Oct 04:11
47a400e
Compare
Choose a tag to compare

This version removes the HTML import way of using this element because HTML imports are dead in favor of ES modules.

Change width attribute to columns

17 Sep 18:24
Compare
Choose a tag to compare

This is a breaking change that swaps the width attribute with the columns attribute. It felt weird to use the width attribute when we really just wanted the ASCII string to wrap at X columns.

Initial Release

04 Sep 00:59
Compare
Choose a tag to compare

The <ascii-image> custom element is similar to the <img> tag, but renders the image as ASCII art.

It currently supports two attributes:

  • src is the location of the image (just like <img src="...">)
  • width is the number of columns for the ASCII image.