Add mardown link (thumb + link to full)
This commit is contained in:
parent
ded0ccf041
commit
a470613d24
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@
|
||||||
document.getElementById("comment01").innerHTML = element.dataset.desc;
|
document.getElementById("comment01").innerHTML = element.dataset.desc;
|
||||||
document.getElementById("thumburl").innerHTML = "Thumbnail : " + element.firstElementChild.currentSrc;
|
document.getElementById("thumburl").innerHTML = "Thumbnail : " + element.firstElementChild.currentSrc;
|
||||||
document.getElementById("fullurl").innerHTML = "Full : " + element.href;
|
document.getElementById("fullurl").innerHTML = "Full : " + element.href;
|
||||||
document.getElementById("markdown").innerHTML = "Markdown : [![](" + element.href + "](" + element.href + ")";
|
document.getElementById("markdown").innerHTML = "Markdown : [![](" + element.firstElementChild.currentSrc + "](" + element.href + ")";
|
||||||
|
|
||||||
if (typeof element.dataset.video !== 'undefined') {
|
if (typeof element.dataset.video !== 'undefined') {
|
||||||
document.getElementById("img01").style.display = "none";
|
document.getElementById("img01").style.display = "none";
|
||||||
|
|
Loading…
Reference in a new issue