Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

magicpen-media

unexpectedjs31.6kMIT3.0.2

Add media support to magicpen (images, audio, video)

readme

magicpen-media

Add media support to magicpen (images, audio, video). Can also be used as a plugin to Unexpected 9.0.0+.

NPM version Build Status Coverage Status Dependency Status

var MagicPen = require('magicpen');

var pen = new MagicPen().installPlugin(require('magicpen-media')).clone('html');

pen.image('foo.png');

console.log(pen.toString());

Output:

<div style="font-family: monospace; white-space: nowrap">
  <div><img src="foo.png" /></div>
</div>

Releases

Changelog

changelog

v3.0.1 (2021-04-25)

v3.0.1 (2021-04-25)

Pull requests

Commits to master

v3.0.0 (2020-11-22)

Pull requests

Commits to master

v2.0.0 (2019-06-23)

Pull requests

Commits to master

v1.5.2 (2018-11-19)

Pull requests

Commits to master

v1.5.1 (2015-08-19)

v1.5.0 (2015-07-06)

v1.4.0 (2015-07-06)

v1.3.1 (2015-07-06)

v1.3.0 (2015-07-06)

v1.2.0

v1.1.1 (2015-07-06)

v1.1.0

v1.0.0