Update markdownToHtml.js

This commit is contained in:
uğur erdal 2019-01-23 01:01:43 +03:00 committed by GitHub
parent ac7abc0a34
commit 4c8b797829

View File

@ -236,7 +236,7 @@ const createVimeoIframe = input => input.replace(vimeoRegex, (link) => {
});
const iframeBody = link => `<iframe frameborder='0' allowfullscreen src='${link}'></iframe>`;
const imageBody = link => `<center style="text-align: center; align-items: center; justify-content: center;"><img src="${`https://steemitimages.com/1600x0/${link}`}"></center>`;
const imageBody = link => `<center style="text-align: center; align-items: center; justify-content: center;"><img src="${`https://steemitimages.com/600x0/${link}`}"></center>`;
const gifBody = link => `<img src="${`https://steemitimages.com/0x0/${link}`}">`;
// const handleCodeTag = input => input.replace(codeTagRegex, (tag) => {