       const editorOverlay = document.getElementById('editor-overlay');

                if (show) {
                    viewerContent.style.display = 'none';
                    editorElement.style.display = 'block';
                    editorOverlay.style.display = 'block';
                    textarea.value = currentMarkdown;
                    textarea.focus();
                } else {
                    viewerContent.style.display = 'block';
                    editorElement.style.display = 'none';
 