Comparing version 0.2.0 to 0.2.1
14
index.js
@@ -20,8 +20,8 @@ #! /usr/bin/env node | ||
const result = []; | ||
result.push(`<img | ||
src="${path}" | ||
${alt ? `alt="${alt}"` : ''} | ||
align="${position}" | ||
${width ? `width="${width}"` : ''} | ||
/>`); | ||
result.push('<img'); | ||
result.push(` src="${path}"`); | ||
result.push(` ${alt ? `alt="${alt}"` : ''}`); | ||
result.push(` align="${position}"`); | ||
result.push(` ${width ? `width="${width}"` : ''}`); | ||
result.push('/>'); | ||
if (link) { | ||
@@ -31,3 +31,3 @@ result.unshift(`<a href="${link}">`); | ||
} | ||
return result.join('\n'); | ||
return `${result.join('\n')}\n`; | ||
}, | ||
@@ -34,0 +34,0 @@ include: ({ include = '' }) => { |
{ | ||
"name": "emdaer", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "does a README.md", | ||
@@ -5,0 +5,0 @@ "repository": "flipactual/emdaer", |
@@ -1,9 +0,1 @@ | ||
<a href="https://github.com/flipactual/emdaer"> | ||
<img | ||
src="/docs/emdaer.png" | ||
alt="emdaer" | ||
align="right" | ||
width="64px" | ||
/> | ||
</a> | ||
[![Travis](https://img.shields.io/travis/flipactual/emdaer.svg?style=flat-square)](https://travis-ci.org/flipactual/emdaer/) | ||
@@ -13,2 +5,11 @@ [![Node](https://img.shields.io/node/v/emdaer.svg?style=flat-square)](http://npmjs.com/package/emdaer) | ||
<a href="https://github.com/flipactual/emdaer"> | ||
<img | ||
src="/docs/emdaer.png" | ||
alt="emdaer" | ||
align="right" | ||
width="64px" | ||
/> | ||
</a> | ||
does a README.md | ||
@@ -15,0 +16,0 @@ |
Sorry, the diff of this file is not supported yet
44610
168