Sha256: a8a404e0bc9ff211e98755725ab1c6296e0c374b604b4d870bbda60a044e2e5f

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

$(function() {
    $("#markdown-content img").each(function(){
        if($(this).attr("src").startsWith("..")){
            $(this).attr("src", $(this).attr('src').slice(2));
        };
        if($(this).attr("src").startsWith("/")){
            $(this).attr("src", $(this).attr('src').slice(1));
        }
    });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-panda-0.2.6 assets/js/typora2jekyll.js