@Jasper_Holton's profile photo

I added code embeds so now I can show off code directly on the site. I'm not supporting every language to start with, but a lot of languages are already supported. To add code, use *(language)* before the code you want to embed, and *** after the code. For example, here is some code below.

// Reload the suggested posts div with more posts
function reloadSuggested(){
    $.ajax({
    url : "/suggested/",
    success : function(result){ 
    document.getElementById("suggested").innerHTML = result;
        $('#reloadsuggested').on('click', reloadSuggested);
      }
    });
}
$('#reloadsuggested').on('click', reloadSuggested);


Pinterest logo
Tumblr logo VK logo

https://uglek.com/post/282/ -

© Uglek, 2022

Terms of Use and Privacy Policy