Skip to content

Instantly share code, notes, and snippets.

@arbo77
Last active December 15, 2015 03:09
Show Gist options
  • Save arbo77/5191883 to your computer and use it in GitHub Desktop.
Save arbo77/5191883 to your computer and use it in GitHub Desktop.
$(document).ready(function(){
$(".blog-posts").appendTo(".xc");
var nsect = $(".post-body").html().split("==NP==")
$("<div class='npost-body></div>").appendTo(".post-header")
for(i in nsect){
$("<section></section>").html(nsect[i]).appendTo("npost-body")
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment