📝 MarkHTML

Markdown Input
HTML Preview
HTML Output

🔓 Pro Features

Exportar a PDF, tema personalizado, historial de conversiones.

\n'); link.download = 'documento_' + Date.now() + '.html'; link.click(); } function clearAll() { markdown.value = ''; preview.innerHTML = ''; htmlOutput.value = ''; } function showProModal() { document.getElementById('proModal').classList.add('show'); } function closeProModal() { document.getElementById('proModal').classList.remove('show'); } function sendProCode() { const email = document.getElementById('proEmail').value.trim(); if (!email) { alert('Ingresa tu email'); return; } let hash = 0; for (let i = 0; i < email.length; i++) { hash = ((hash << 5) - hash) + email.charCodeAt(i); hash = hash & hash; } const code = 'MH-' + Math.abs(hash).toString(16).toUpperCase().padStart(8, '0'); alert(`Código Pro: ${code}`); closeProModal(); document.getElementById('proEmail').value = ''; } // Initialize convertMarkdown();