Document Your Code

Enter the PHP code you want to document below, submit it, then copy and paste the HTML into your website.

If you want your documentation to be collapsed and expand on demand, then include the following jQuery as well:

$(".documentor.panel-group .panel-body").hide();
$(".documentor.panel-group .panel-heading").css("cursor", "pointer");
$(document).on("click", ".documentor.panel-group .panel-heading", function(){
    var body = $(this).parent(".panel").find(".panel-body").eq(0);
    if (":hidden")) {
if (window.location.hash) {
    var parent = $("*");
    $.each(window.location.hash.substr(1).split("::"), function(key, value) {
        parent = parent.find(".documentor .panel[data-name='" + value + "']");