March 4, 2026 4 min read

Overleaf Dark Mode & Markdown Paste: Hidden Features

Overleaf has two powerful hidden features most researchers miss: PDF dark mode for late-night writing sessions, and markdown-to-LaTeX conversion in the visual editor. Both work on free accounts and can save hours of manual formatting when drafting papers from notes or LLM output.

You’re staring at a blinding white PDF preview at 11 PM, trying to finish your paper. Your eyes hurt. You’ve got structured notes in Obsidian or ChatGPT output in markdown, but you’re manually retyping section headers into LaTeX syntax. There’s a better way—and it’s already built into Overleaf.

Two Hidden Features That Actually Matter

PDF dark mode inverts your preview to a dark background without touching your exported document. Visual editor markdown paste converts markdown structure—headings, lists, formatting—directly into LaTeX when you paste. Both work on free accounts. No extensions required.

Prerequisites

  • Active Overleaf account (free tier works)
  • Any existing LaTeX project or create a blank one
  • For markdown paste: notes in markdown format (Obsidian, Notion, ChatGPT, etc.)
  • Recent browser: Chrome, Firefox, Safari, or Edge

Setup: Switch to the New Interface

Dark mode only exists in Overleaf’s redesigned interface. If you’re on the legacy UI:

  1. Open any project
  2. Click Settings (gear icon, top-right)
  3. Find the toggle labeled “Use new interface” or “Switch to new look”
  4. Enable it—the page refreshes automatically

⚠️ Note: If you don’t see this option, you’re already on the new interface.

Feature 1: Enable PDF Dark Mode

  1. Confirm you’re using the new interface
  2. Click Settings (gear icon)
  3. Go to Appearance tab
  4. Toggle “Dark mode” to ON
  5. Close the panel

What changes:

  • Code editor background turns dark
  • PDF preview background inverts to dark gray/black
  • Preview text becomes light-colored

What doesn’t change:

  • Your compiled PDF output (downloads with normal white background)
  • Collaborators’ views (dark mode is local to your account)

Reverting: Use the same toggle, or switch themes in Settings → Editor Theme. Options include Overleaf, Overleaf Dark, Textmate. If dark mode makes your eyes twitch, you can always go back.

Feature 2: Paste Markdown into Visual Editor

This is where Overleaf becomes genuinely useful for people who draft in plain text tools or get structured output from LLMs.

  1. Copy your markdown content (Ctrl+C / Cmd+C)

    • Example sources: Obsidian note, ChatGPT response, GitHub README
  2. In Overleaf, switch to Visual Editor mode

    • Click the “Visual” button above the editor pane (not “Source”)
  3. Click inside the document body (below \begin{document})

  4. Paste (Ctrl+V / Cmd+V)

  5. Watch automatic conversion:

    • # Heading\section{Heading}
    • ## Subheading\subsection{Subheading}
    • - List item\item inside \begin{itemize}
    • **bold**\textbf{bold}
  6. Switch to Source view to see generated LaTeX

Practical Example: Import a Paper Outline from ChatGPT

Scenario: You asked ChatGPT to generate a research paper structure:

# 1. Introduction
## 1.1 Background
## 1.2 Motivation

# 2. Related Work
- Survey of existing methods
- Comparison table

# 3. Methodology
## 3.1 Data Collection
## 3.2 Analysis

Steps:

  1. Copy the entire markdown block
  2. Open your Overleaf project
  3. Switch to Visual Editor
  4. Paste below \begin{document}
  5. Switch to Source view

Result in LaTeX:

\section{1. Introduction}
\subsection{1.1 Background}
\subsection{1.2 Motivation}

\section{2. Related Work}
\begin{itemize}
\item Survey of existing methods
\item Comparison table
\end{itemize}

\section{3. Methodology}
\subsection{3.1 Data Collection}
\subsection{3.2 Analysis}

Cleanup needed: Remove manual numbering (1., 1.1, etc.) since LaTeX auto-numbers sections. Delete “1. “, “1.1 “, etc. from titles. This redundancy happens because most LLMs auto-generate section numbers—but LaTeX handles numbering automatically by appearance order.

Common Issues & Fixes

Dark mode toggle is missing

Cause: You’re using the legacy interface
Fix: Settings → Enable “Use new interface” → Refresh

Markdown paste doesn’t convert—just shows raw text

Cause: You’re in Source (code) editor, not Visual editor
Fix: Click “Visual” before pasting. Conversion only works in Visual mode.

Pasted sections have redundant numbering (e.g., “1. Introduction”)

Cause: LLMs often auto-number markdown headings
Fix: Manually delete number prefixes. Sections auto-number by appearance order.

Dark mode makes PDF unreadable (colors are off)

Cause: Custom document classes or color packages may conflict
Fix: Switch editor theme to “Overleaf” (not “Overleaf Dark”) in Settings → Editor Theme, then re-enable dark mode in Appearance. If that fails, toggle dark mode off when reviewing final formatting.

Next Steps

If you liked markdown import:

  • Explore Overleaf’s Rich Text mode for inline formatting without LaTeX syntax
  • Try Pandoc for batch-converting markdown files to .tex locally
  • Use Obsidian + Pandoc plugins to export notes with citations directly to LaTeX

If you want more control:

  • Write LaTeX in VS Code with Copilot for AI-assisted drafting
  • Set up LaTeX Workshop extension in VS Code for local compilation
  • Use Zotero + Better BibTeX for automated bibliography management

For collaboration:

  • Overleaf’s Track Changes (Premium) works in Visual Editor
  • Combine markdown paste with comments (using the \todo{} package) for draft feedback

Which markdown source do you use most—Obsidian, Notion, or LLM outputs like ChatGPT? Reply and let me know if you’ve found other hidden Overleaf features worth sharing.


Are you still manually typing markdown into LaTeX, or have you discovered these Overleaf shortcuts already?

Comments