Commit 133ddc36 authored by nanahira's avatar nanahira

better format

parent 284e7400
Pipeline #19397 passed with stage
in 44 seconds
......@@ -119,18 +119,21 @@ export default class YGOCardPlugin
if (!this.config.usePuppeteer || !this.puppeteer) {
return card.getDisplayString(this.config);
}
const url = card.getPic(this.config);
const { name, id, desc } = card;
const metaText = card.getMetaText(this.config);
return (
<html>
<body>
<div>
<image src={card.getPic(this.config)} />
<image src={url} />
</div>
<div>
{card.name} {card.id}
{name} {id}
</div>
<div>
<p>{card.getMetaText(this.config)}</p>
<p>{card.desc}</p>
<p>{metaText}</p>
<p>{desc}</p>
</div>
</body>
</html>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment