`
).join('') : '
`;
}
// Tab functionality
window.changeTab = function(event, tabName) {
document.querySelectorAll('.tab').forEach(tab => tab.classList.remove('active'));
event.currentTarget.classList.add('active');
document.querySelectorAll('.tab-content').forEach(content => content.classList.remove('active'));
document.getElementById(tabName).classList.add('active');
}
// Initial Load
setInitialContent();
});
No comments on this document.
'; return `${title}
Exported on: ${new Date().toLocaleString()}
Document Content
${content}

Select text in the editor to add a comment.